msvcrt: Don't use isspaceW.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8d2a2c9423
commit
bbf20dbb88
|
@ -2333,7 +2333,7 @@ __int64 CDECL MSVCRT__wcstoi64_l(const MSVCRT_wchar_t *nptr,
|
||||||
if(endptr)
|
if(endptr)
|
||||||
*endptr = (MSVCRT_wchar_t*)nptr;
|
*endptr = (MSVCRT_wchar_t*)nptr;
|
||||||
|
|
||||||
while(isspaceW(*nptr)) nptr++;
|
while(MSVCRT__iswspace_l(*nptr, locale)) nptr++;
|
||||||
|
|
||||||
if(*nptr == '-') {
|
if(*nptr == '-') {
|
||||||
negative = TRUE;
|
negative = TRUE;
|
||||||
|
@ -2506,7 +2506,7 @@ unsigned __int64 CDECL MSVCRT__wcstoui64_l(const MSVCRT_wchar_t *nptr,
|
||||||
if(endptr)
|
if(endptr)
|
||||||
*endptr = (MSVCRT_wchar_t*)nptr;
|
*endptr = (MSVCRT_wchar_t*)nptr;
|
||||||
|
|
||||||
while(isspaceW(*nptr)) nptr++;
|
while(MSVCRT__iswspace_l(*nptr, locale)) nptr++;
|
||||||
|
|
||||||
if(*nptr == '-') {
|
if(*nptr == '-') {
|
||||||
negative = TRUE;
|
negative = TRUE;
|
||||||
|
@ -2675,7 +2675,7 @@ __int64 CDECL MSVCRT__wtoi64_l(const MSVCRT_wchar_t *str, MSVCRT__locale_t local
|
||||||
ULONGLONG RunningTotal = 0;
|
ULONGLONG RunningTotal = 0;
|
||||||
BOOL bMinus = FALSE;
|
BOOL bMinus = FALSE;
|
||||||
|
|
||||||
while (isspaceW(*str)) {
|
while (MSVCRT__iswspace_l(*str, locale)) {
|
||||||
str++;
|
str++;
|
||||||
} /* while */
|
} /* while */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue