riched20: Fix uninitialized variable usage.

This commit is contained in:
Thomas Faber 2011-08-06 01:48:38 +02:00 committed by Alexandre Julliard
parent 2de8137f11
commit 73876d6ccd
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ static void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph)
rc.left = c->pt.x + run->pt.x; rc.left = c->pt.x + run->pt.x;
rc.right = rc.left + run->nWidth; rc.right = rc.left + run->nWidth;
rc.top = c->pt.y + para->pt.y + run->pt.y; 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); TRACE("rc = (%d, %d, %d, %d)\n", rc.left, rc.top, rc.right, rc.bottom);
FrameRect(c->hDC, &rc, GetSysColorBrush(COLOR_GRAYTEXT)); FrameRect(c->hDC, &rc, GetSysColorBrush(COLOR_GRAYTEXT));
} }