msvcrt: Don't use iscntrlW.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2020-07-15 14:05:54 +02:00 committed by Alexandre Julliard
parent 9dbf289cb8
commit f054370bc6
1 changed files with 9 additions and 9 deletions

View File

@ -1960,20 +1960,20 @@ INT CDECL MSVCRT_iswalpha( MSVCRT_wchar_t wc )
return MSVCRT__iswalpha_l( wc, NULL );
}
/*********************************************************************
* iswcntrl (MSVCRT.@)
*/
INT CDECL MSVCRT_iswcntrl( MSVCRT_wchar_t wc )
{
return iscntrlW( wc );
}
/*********************************************************************
* _iswcntrl_l (MSVCRT.@)
*/
int CDECL MSVCRT__iswcntrl_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
{
return iscntrlW( wc );
return MSVCRT__iswctype_l( wc, MSVCRT__CONTROL, locale );
}
/*********************************************************************
* iswcntrl (MSVCRT.@)
*/
INT CDECL MSVCRT_iswcntrl( MSVCRT_wchar_t wc )
{
return MSVCRT__iswcntrl_l( wc, NULL );
}
/*********************************************************************