richedit: Fix assignment to wrong variable (LLVM/Clang).

This commit is contained in:
Dylan Smith 2010-05-24 16:13:55 -04:00 committed by Alexandre Julliard
parent aa8457008a
commit b88b007d95
1 changed files with 2 additions and 1 deletions

View File

@ -232,7 +232,8 @@ static ME_DisplayItem *ME_MaximizeSplit(ME_WrapContext *wc, ME_DisplayItem *p, i
}
if (piter->member.run.nFlags & MERF_ENDWHITE)
{
j = ME_ReverseFindNonWhitespaceV(piter->member.run.strText, i);
i = ME_ReverseFindNonWhitespaceV(piter->member.run.strText,
piter->member.run.strText->nLen);
pp = ME_SplitRun(wc, piter, i);
wc->pt = pp->member.run.pt;
return pp;