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 ); } /*********************************************************************