Thomas Faber : riched20: Fix uninitialized variable usage.
Alexandre Julliard
julliard at winehq.org
Mon Aug 22 13:29:13 CDT 2011
Module: wine
Branch: master
Commit: 73876d6ccd22172d56d6338328f639365fd48554
URL: http://source.winehq.org/git/wine.git/?a=commit;h=73876d6ccd22172d56d6338328f639365fd48554
Author: Thomas Faber <thfabba at gmx.de>
Date: Sat Aug 6 01:48:38 2011 +0200
riched20: Fix uninitialized variable usage.
---
dlls/riched20/paint.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c
index cd85139..0655010 100644
--- a/dlls/riched20/paint.c
+++ b/dlls/riched20/paint.c
@@ -957,7 +957,7 @@ static void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph)
rc.left = c->pt.x + run->pt.x;
rc.right = rc.left + run->nWidth;
rc.top = c->pt.y + para->pt.y + run->pt.y;
- rc.bottom = rc.bottom + height;
+ rc.bottom = rc.top + height;
TRACE("rc = (%d, %d, %d, %d)\n", rc.left, rc.top, rc.right, rc.bottom);
FrameRect(c->hDC, &rc, GetSysColorBrush(COLOR_GRAYTEXT));
}
More information about the wine-cvs
mailing list