summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-11-23 17:10:55 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-11-23 17:10:55 +0000
commitfec868bf0f67a8f62fc69d55e2ff72b6cacea6f8 (patch)
tree5370b04708119d0aad4098454c82f60ccf00a29e /miext
parentb09f2a0495071a068c2b6b36084c974acf7aab9b (diff)
//freedesktop.org/bugzilla/show_bug.cgi?id=1204): Fix X11 test suite
(caused by DAMAGE layer) failure with Xvfb when rendering text using |XDrawText*()| (XDrawText() tests 1, 3, 4, 27, 28, 29, 30, 34, 37, 39, 41, 43 and XDrawText16() tests 1, 3, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 34, 37, 39, 41, 43). Patch by Hong Bo Peng <penghb@cn.ibm.com> and Stefan Dirsch <sndirsch@suse.de>.
Diffstat (limited to 'miext')
-rwxr-xr-xmiext/damage/damage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miext/damage/damage.c b/miext/damage/damage.c
index 963780f70..0ba4f251f 100755
--- a/miext/damage/damage.c
+++ b/miext/damage/damage.c
@@ -1349,7 +1349,7 @@ damagePolyText8(DrawablePtr pDrawable,
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);
@@ -1368,7 +1368,7 @@ damagePolyText16(DrawablePtr pDrawable,
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