Module: wine Branch: master Commit: e68e6ff740211eb9cff1693b1384c7dd979e03bd URL: http://source.winehq.org/git/wine.git/?a=commit;h=e68e6ff740211eb9cff1693b13...
Author: Huw Davies huw@codeweavers.com Date: Tue Feb 26 13:19:49 2013 +0000
riched20: Correctly set the row's x position.
---
dlls/riched20/wrap.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c index 7c34876..9bebd8a 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 */