18 Apr
2016
18 Apr
'16
11:31 a.m.
On 18 Apr 2016, at 09:11, Michael Stefaniuc <mstefani(a)redhat.de> wrote:
--- a/dlls/riched20/paint.c +++ b/dlls/riched20/paint.c @@ -617,10 +617,8 @@ static void ME_DrawParaDecoration(ME_Context* c, ME_Paragraph* para, int y, RECT MoveToEx(c->hDC, c->pt.x, y + bounds->top, NULL); LineTo(c->hDC, c->pt.x, y + para->nHeight - bounds->bottom); if (border_details[idx].dble) { - rc.left = c->pt.x + 1; - rc.right = rc.left + border_width; - rc.top = y + bounds->top; - rc.bottom = y + para->nHeight - bounds->bottom; + SetRect(&rc, c->pt.x + 1, y + bounds->top, rc.left + border_width, + y + para->nHeight - bounds->bottom);
This is using rc.left uninitialised. Huw.