aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/miext/rootless/rootlessScreen.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-31 09:03:13 +0000
committermarha <marha@users.sourceforge.net>2011-01-31 09:03:13 +0000
commitfd713bd3b716e9fa40964902ba17e50faac93400 (patch)
tree72950181b992179f182f4998a9f6ebf6449ad447 /xorg-server/miext/rootless/rootlessScreen.c
parentecad71d513263770083d0a07b0350147dcb15f2f (diff)
downloadvcxsrv-fd713bd3b716e9fa40964902ba17e50faac93400.tar.gz
vcxsrv-fd713bd3b716e9fa40964902ba17e50faac93400.tar.bz2
vcxsrv-fd713bd3b716e9fa40964902ba17e50faac93400.zip
Solved problem of using an unitialised variable.
Diffstat (limited to 'xorg-server/miext/rootless/rootlessScreen.c')
-rw-r--r--xorg-server/miext/rootless/rootlessScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/miext/rootless/rootlessScreen.c b/xorg-server/miext/rootless/rootlessScreen.c
index ca4f00c3e..9263df1fd 100644
--- a/xorg-server/miext/rootless/rootlessScreen.c
+++ b/xorg-server/miext/rootless/rootlessScreen.c
@@ -325,7 +325,7 @@ RootlessGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
box.x1 = x - glyph->info.x;
box.y1 = y - glyph->info.y;
box.x2 = box.x1 + glyph->info.width;
- box.y2 = box.y2 + glyph->info.height;
+ box.y2 = box.y1 + glyph->info.height;
x += glyph->info.xOff;
y += glyph->info.yOff;