Piotr Caban : msvcrt: Don't use isalphaW.
Alexandre Julliard
julliard at winehq.org
Wed Jul 15 16:44:46 CDT 2020
Module: wine
Branch: master
Commit: 9dbf289cb832baeaecac8fa980a77963ddb1533d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9dbf289cb832baeaecac8fa980a77963ddb1533d
Author: Piotr Caban <piotr at codeweavers.com>
Date: Wed Jul 15 14:05:50 2020 +0200
msvcrt: Don't use isalphaW.
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcrt/wcs.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c
index 6998c16f59..5d70222bda 100644
--- a/dlls/msvcrt/wcs.c
+++ b/dlls/msvcrt/wcs.c
@@ -1945,19 +1945,19 @@ INT CDECL MSVCRT_iswalnum( MSVCRT_wchar_t wc )
}
/*********************************************************************
- * iswalpha (MSVCRT.@)
+ * iswalpha_l (MSVCRT.@)
*/
-INT CDECL MSVCRT_iswalpha( MSVCRT_wchar_t wc )
+INT CDECL MSVCRT__iswalpha_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
{
- return isalphaW( wc );
+ return MSVCRT__iswctype_l( wc, MSVCRT__ALPHA, locale );
}
/*********************************************************************
- * iswalpha_l (MSVCRT.@)
+ * iswalpha (MSVCRT.@)
*/
-INT CDECL MSVCRT__iswalpha_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
+INT CDECL MSVCRT_iswalpha( MSVCRT_wchar_t wc )
{
- return isalphaW( wc );
+ return MSVCRT__iswalpha_l( wc, NULL );
}
/*********************************************************************
More information about the wine-cvs
mailing list