From 519aadcaa65fa345a263e5131dc6f1b6c47c78d5 Mon Sep 17 00:00:00 2001
From: Joel Bosveld <Joel.Bosveld@gmail.com>
Date: Wed, 18 Feb 2009 14:22:16 +0900
Subject: [PATCH] TextSurface::initCairo width=width should be this->width=width (and same
 for height)

---
 text.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/text.cpp b/text.cpp
index 8adce52..0a75f10 100644
--- a/text.cpp
+++ b/text.cpp
@@ -146,8 +146,8 @@ TextSurface::initCairo (unsigned int width,
     if (width > 0 && height > 0)
 	pixmap = XCreatePixmap (dpy, screen->root (), width, height, 32);
 
-    width  = width;
-    height = height;
+    this->width  = width;
+    this->height = height;
 
     if (!pixmap)
     {
-- 
1.6.0.6

