summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-04-23 23:25:39 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-04-25 18:57:01 -0700
commit4944de24849a109c65f1b353bc12e44e90a1211d (patch)
tree9e0b4f1070d902afd160b73fd27a7c81401be5c7 /miext
parent2098cb03c6b64bfca7694fc2b5213edb77bc12e4 (diff)
rootless: Fix a typo in RootlessGlyphs which resulted in a garbage value
Found by clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'miext')
-rw-r--r--miext/rootless/rootlessScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/rootless/rootlessScreen.c b/miext/rootless/rootlessScreen.c
index df8d9459c..0801e7206 100644
--- a/miext/rootless/rootlessScreen.c
+++ b/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;