msvcrt: Don't use isalnumW.

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:46 +02:00 committed by Alexandre Julliard
parent bbf20dbb88
commit 4e8c90600c
1 changed files with 9 additions and 9 deletions

View File

@ -1928,20 +1928,20 @@ INT CDECL MSVCRT_iswctype( MSVCRT_wchar_t wc, MSVCRT_wctype_t type )
return (get_char_typeW(wc) & 0xfff) & type;
}
/*********************************************************************
* iswalnum (MSVCRT.@)
*/
INT CDECL MSVCRT_iswalnum( MSVCRT_wchar_t wc )
{
return isalnumW( wc );
}
/*********************************************************************
* _iswalnum_l (MSVCRT.@)
*/
int CDECL MSVCRT__iswalnum_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
{
return isalnumW( wc );
return MSVCRT__iswctype_l( wc, MSVCRT__ALPHA | MSVCRT__DIGIT, locale );
}
/*********************************************************************
* iswalnum (MSVCRT.@)
*/
INT CDECL MSVCRT_iswalnum( MSVCRT_wchar_t wc )
{
return MSVCRT__iswalnum_l( wc, NULL );
}
/*********************************************************************