Commit 4944de24 authored by Jeremy Huddleston's avatar Jeremy Huddleston

rootless: Fix a typo in RootlessGlyphs which resulted in a garbage value

Found by clang static analyzer
Signed-off-by: default avatarJeremy Huddleston <jeremyhu@apple.com>
parent 2098cb03
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment