Fix incorrect check in WCMD_HandleTildaModifiers().

Alexandre Julliard julliard at winehq.org
Thu Jun 11 05:07:46 CDT 2009


Gerald Pfeifer <gerald at pfeifer.com> writes:

>>= '0' || <= '9' always is true. :-)  This patch fixes it, and
> avoids two just hand coded checks altogether.
>
> Gerald
>
> ChangeLog:
> Fix incorrect check in WCMD_HandleTildaModifiers().
> Use isdigit() instead of hand-coding this check.

Using isdigit() on a Unicode char is not a good idea (and in this case
isdigitW() wouldn't be a good idea either).

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list