riched20: Implements FR_MATCHCASE for EM_FINDTEXT

Phil Krylov phil at newstar.rinet.ru
Fri Feb 24 05:01:24 CST 2006


On Tue, 21 Feb 2006 14:08:38 -0800
Lei Zhang <leiz at ucla.edu> wrote:

> On Tuesday 21 February 2006 12:42 pm, you wrote:
> > 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.
> 
> Hi Phil,
> 
> Ya, it's a typo. Thanks for catching it.

Could you kindly fix it then? As this patch was accepted unfixed.

-- Ph.



More information about the wine-devel mailing list