msvcrt: Don't use isgraphW.

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:06:00 +02:00 committed by Alexandre Julliard
parent b2e235a8e8
commit 9254edc30d
1 changed files with 9 additions and 9 deletions

View File

@ -1992,20 +1992,20 @@ INT CDECL MSVCRT_iswdigit( MSVCRT_wchar_t wc )
return MSVCRT__iswdigit_l( wc, NULL ); return MSVCRT__iswdigit_l( wc, NULL );
} }
/*********************************************************************
* iswgraph (MSVCRT.@)
*/
INT CDECL MSVCRT_iswgraph( MSVCRT_wchar_t wc )
{
return isgraphW( wc );
}
/********************************************************************* /*********************************************************************
* _iswgraph_l (MSVCRT.@) * _iswgraph_l (MSVCRT.@)
*/ */
int CDECL MSVCRT__iswgraph_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale ) int CDECL MSVCRT__iswgraph_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
{ {
return isgraphW( wc ); return MSVCRT__iswctype_l( wc, MSVCRT__ALPHA | MSVCRT__DIGIT | MSVCRT__PUNCT, locale );
}
/*********************************************************************
* iswgraph (MSVCRT.@)
*/
INT CDECL MSVCRT_iswgraph( MSVCRT_wchar_t wc )
{
return MSVCRT__iswgraph_l( wc, NULL );
} }
/********************************************************************* /*********************************************************************