Piotr Caban : msvcrt: Don't use islowerW.

Alexandre Julliard julliard at winehq.org
Wed Jul 15 16:44:46 CDT 2020


Module: wine
Branch: master
Commit: badc282cf7dcff01690f4081cdf867ef1a083d14
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=badc282cf7dcff01690f4081cdf867ef1a083d14

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Jul 15 14:06:06 2020 +0200

msvcrt: Don't use islowerW.

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 3f6b56dab8..2e3a624d3c 100644
--- a/dlls/msvcrt/wcs.c
+++ b/dlls/msvcrt/wcs.c
@@ -2009,19 +2009,19 @@ INT CDECL MSVCRT_iswgraph( MSVCRT_wchar_t wc )
 }
 
 /*********************************************************************
- *		iswlower (MSVCRT.@)
+ *		_iswlower_l (MSVCRT.@)
  */
-INT CDECL MSVCRT_iswlower( MSVCRT_wchar_t wc )
+int CDECL MSVCRT__iswlower_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
 {
-    return islowerW( wc );
+    return MSVCRT__iswctype_l( wc, MSVCRT__LOWER, locale );
 }
 
 /*********************************************************************
- *		_iswlower_l (MSVCRT.@)
+ *		iswlower (MSVCRT.@)
  */
-int CDECL MSVCRT__iswlower_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
+INT CDECL MSVCRT_iswlower( MSVCRT_wchar_t wc )
 {
-    return islowerW( wc );
+    return MSVCRT__iswlower_l( wc, NULL );
 }
 
 /*********************************************************************




More information about the wine-cvs mailing list