From da164d19e84034c9947726bb192216bfe300f898 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 15 Jul 2020 14:06:29 +0200 Subject: [PATCH] msvcrt: Don't use isupperW. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcrt/wcs.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c index f3dac854d82..fb494ebe39e 100644 --- a/dlls/msvcrt/wcs.c +++ b/dlls/msvcrt/wcs.c @@ -2073,20 +2073,20 @@ INT CDECL MSVCRT_iswspace( MSVCRT_wchar_t wc ) return MSVCRT__iswspace_l( wc, NULL ); } -/********************************************************************* - * iswupper (MSVCRT.@) - */ -INT CDECL MSVCRT_iswupper( MSVCRT_wchar_t wc ) -{ - return isupperW( wc ); -} - /********************************************************************* * _iswupper_l (MSVCRT.@) */ 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 (MSVCRT.@) + */ +INT CDECL MSVCRT_iswupper( MSVCRT_wchar_t wc ) +{ + return MSVCRT__iswupper_l( wc, NULL ); } /*********************************************************************