riched20: Implements FR_MATCHCASE for EM_FINDTEXT

Phil Krylov phil at newstar.rinet.ru
Tue Feb 21 14:42:46 CST 2006


On Tue, 21 Feb 2006 10:19:01 -0800
Lei Zhang <leiz at ucla.edu> wrote:

> -      while (pCurItem && pCurItem->member.run.strText->szData[nCurEnd - nMatched - 1] == text[nLen - nMatched - 1])
> +      while (ME_CharCompare(pCurItem->member.run.strText->szData[nCurEnd - nMatched - 1], text[nLen - nMatched - 1], (flags & FR_MATCHCASE)))

You've dropped pCurItem NULL check here. Probably just a typo...

-- Ph.




More information about the wine-devel mailing list