Piotr Caban : msvcrt: Don't use isspaceW.
Alexandre Julliard
julliard at winehq.org
Wed Jul 15 16:44:45 CDT 2020
Module: wine
Branch: master
Commit: bbf20dbb88dd292397cacc0ce12f193cb4d038bb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=bbf20dbb88dd292397cacc0ce12f193cb4d038bb
Author: Piotr Caban <piotr at codeweavers.com>
Date: Wed Jul 15 14:05:43 2020 +0200
msvcrt: Don't use isspaceW.
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcrt/wcs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c
index 0c99d0faab..076336f43b 100644
--- a/dlls/msvcrt/wcs.c
+++ b/dlls/msvcrt/wcs.c
@@ -2333,7 +2333,7 @@ __int64 CDECL MSVCRT__wcstoi64_l(const MSVCRT_wchar_t *nptr,
if(endptr)
*endptr = (MSVCRT_wchar_t*)nptr;
- while(isspaceW(*nptr)) nptr++;
+ while(MSVCRT__iswspace_l(*nptr, locale)) nptr++;
if(*nptr == '-') {
negative = TRUE;
@@ -2506,7 +2506,7 @@ unsigned __int64 CDECL MSVCRT__wcstoui64_l(const MSVCRT_wchar_t *nptr,
if(endptr)
*endptr = (MSVCRT_wchar_t*)nptr;
- while(isspaceW(*nptr)) nptr++;
+ while(MSVCRT__iswspace_l(*nptr, locale)) nptr++;
if(*nptr == '-') {
negative = TRUE;
@@ -2675,7 +2675,7 @@ __int64 CDECL MSVCRT__wtoi64_l(const MSVCRT_wchar_t *str, MSVCRT__locale_t local
ULONGLONG RunningTotal = 0;
BOOL bMinus = FALSE;
- while (isspaceW(*str)) {
+ while (MSVCRT__iswspace_l(*str, locale)) {
str++;
} /* while */
More information about the wine-cvs
mailing list