riched20: implement EM_FINDWORDBREAK and its tests

Dan Kegel dank at kegel.com
Thu Mar 16 16:11:02 CST 2006


Brian Chang wrote:
> ...
> +#include <wctype.h>

http://www.winehq.org/pipermail/wine-devel/2006-March/045373.html
says:
You can't use anything from wctype.h in Wine. Use the functions from
wine/unicode.h instead.

>+  /* Windows returns 0 if start is negative and len+1 if start is >= len */
>+  if(code != WB_ISDELIMITER)
>+  {
>+      if(start < 0)
>+        return 0;
>+      if(start > len)
>+        return len+1;
>+  }

Do you test that in your conformance test?
If not, please do.


- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv



More information about the wine-devel mailing list