Commit 7cff5d8f authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Handle proper substraction of unsigned numbers.

parent 31dd689b
......@@ -595,7 +595,7 @@ static BOOL internal_wglUseFontBitmaps(HDC hdc,
glNewList(listBase++, GL_COMPILE);
if (needed_size != 0) {
glBitmap(gm.gmBlackBoxX, gm.gmBlackBoxY,
0 - gm.gmptGlyphOrigin.x, gm.gmBlackBoxY - gm.gmptGlyphOrigin.y,
0 - (int) gm.gmptGlyphOrigin.x, (int) gm.gmBlackBoxY - (int) gm.gmptGlyphOrigin.y,
gm.gmCellIncX, gm.gmCellIncY,
gl_bitmap);
} else {
......
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