11 Jun
2009
11 Jun
'09
10:07 a.m.
Gerald Pfeifer <gerald(a)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(a)winehq.org