From 73876d6ccd22172d56d6338328f639365fd48554 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 6 Aug 2011 01:48:38 +0200 Subject: [PATCH] riched20: Fix uninitialized variable usage. --- dlls/riched20/paint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c index cd851391064..065501077ed 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)); }