diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c index 7c34876cf24..9bebd8a28c2 100644 --- a/dlls/riched20/wrap.c +++ b/dlls/riched20/wrap.c @@ -233,6 +233,7 @@ static void ME_InsertRowStart(ME_WrapContext *wc, const ME_DisplayItem *pEnd) shift = max((wc->nAvailWidth-width)/2, 0); if (align == PFA_RIGHT) shift = max(wc->nAvailWidth-width, 0); + row->member.row.pt.x = row->member.row.nLMargin + shift; for (p = wc->pRowStart; p!=pEnd; p = p->next) { if (p->type==diRun) { /* FIXME add more run types */