From 624e3a23ca5a602a0b516b1551a92f256b8d6f74 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 6 Aug 2011 01:48:38 +0200 Subject: 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)); } -- 1.7.3.4