xserver/miext/damage damage.c,1.12,1.13

David Reveman xserver-commit@pdx.freedesktop.org
Tue Jan 25 14:44:56 PST 2005


Committed by: davidr

Update of /cvs/xserver/xserver/miext/damage
In directory gabe:/tmp/cvs-serv17822/miext/damage

Modified Files:
	damage.c 
Log Message:
Return correct x offset from PolyText functions

Index: damage.c
===================================================================
RCS file: /cvs/xserver/xserver/miext/damage/damage.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- damage.c	4 Jun 2004 16:10:50 -0000	1.12
+++ damage.c	25 Jan 2005 22:44:53 -0000	1.13
@@ -1307,7 +1307,7 @@
     DAMAGE_GC_OP_PROLOGUE(pGC, pDrawable);
 
     if (checkGCDamage (pDrawable, pGC))
-	damageText (pDrawable, pGC, x, y, (unsigned long) count, chars,
+	x = damageText (pDrawable, pGC, x, y, (unsigned long) count, chars,
 		    Linear8Bit, TT_POLY8);
     else
 	x = (*pGC->ops->PolyText8)(pDrawable, pGC, x, y, count, chars);
@@ -1326,7 +1326,7 @@
     DAMAGE_GC_OP_PROLOGUE(pGC, pDrawable);
 
     if (checkGCDamage (pDrawable, pGC))
-	damageText (pDrawable, pGC, x, y, (unsigned long) count, (char *) chars,
+	x = damageText (pDrawable, pGC, x, y, (unsigned long) count, (char *) chars,
 		    FONTLASTROW(pGC->font) == 0 ? Linear16Bit : TwoD16Bit,
 		    TT_POLY16);
     else



More information about the xserver-commit mailing list