Piotr Caban : msvcrt: Don't use isupperW.
Alexandre Julliard
julliard at winehq.org
Wed Jul 15 16:44:46 CDT 2020
Module: wine
Branch: master
Commit: da164d19e84034c9947726bb192216bfe300f898
URL: https://source.winehq.org/git/wine.git/?a=commit;h=da164d19e84034c9947726bb192216bfe300f898
Author: Piotr Caban <piotr at codeweavers.com>
Date: Wed Jul 15 14:06:29 2020 +0200
msvcrt: Don't use isupperW.
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 f3dac854d8..fb494ebe39 100644
--- a/dlls/msvcrt/wcs.c
+++ b/dlls/msvcrt/wcs.c
@@ -2074,19 +2074,19 @@ INT CDECL MSVCRT_iswspace( MSVCRT_wchar_t wc )
}
/*********************************************************************
- * iswupper (MSVCRT.@)
+ * _iswupper_l (MSVCRT.@)
*/
-INT CDECL MSVCRT_iswupper( MSVCRT_wchar_t wc )
+int CDECL MSVCRT__iswupper_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
{
- return isupperW( wc );
+ return MSVCRT__iswctype_l( wc, MSVCRT__UPPER, locale );
}
/*********************************************************************
- * _iswupper_l (MSVCRT.@)
+ * iswupper (MSVCRT.@)
*/
-int CDECL MSVCRT__iswupper_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
+INT CDECL MSVCRT_iswupper( MSVCRT_wchar_t wc )
{
- return isupperW( wc );
+ return MSVCRT__iswupper_l( wc, NULL );
}
/*********************************************************************
More information about the wine-cvs
mailing list