From 4944de24849a109c65f1b353bc12e44e90a1211d Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 23 Apr 2011 23:25:39 -0700 Subject: rootless: Fix a typo in RootlessGlyphs which resulted in a garbage value Found by clang static analyzer Signed-off-by: Jeremy Huddleston --- miext/rootless/rootlessScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miext') 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; -- cgit v1.2.3