Commit 73876d6c authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

riched20: Fix uninitialized variable usage.

parent 2de8137f
...@@ -957,7 +957,7 @@ static void ME_DrawParagraph(ME_Context *c, ME_DisplayItem *paragraph) ...@@ -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));
} }
......
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