Piotr Caban : msvcrt: Don't use isgraphW.

Alexandre Julliard julliard at winehq.org
Wed Jul 15 16:44:46 CDT 2020


Module: wine
Branch: master
Commit: 9254edc30d668e59eac487fe3b2b829092c4eb82
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9254edc30d668e59eac487fe3b2b829092c4eb82

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Jul 15 14:06:00 2020 +0200

msvcrt: Don't use isgraphW.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/wcs.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c
index af09d38af4..3f6b56dab8 100644
--- a/dlls/msvcrt/wcs.c
+++ b/dlls/msvcrt/wcs.c
@@ -1993,19 +1993,19 @@ INT CDECL MSVCRT_iswdigit( MSVCRT_wchar_t wc )
 }
 
 /*********************************************************************
- *		iswgraph (MSVCRT.@)
+ *		_iswgraph_l (MSVCRT.@)
  */
-INT CDECL MSVCRT_iswgraph( MSVCRT_wchar_t wc )
+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_l (MSVCRT.@)
+ *		iswgraph (MSVCRT.@)
  */
-int CDECL MSVCRT__iswgraph_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
+INT CDECL MSVCRT_iswgraph( MSVCRT_wchar_t wc )
 {
-    return isgraphW( wc );
+    return MSVCRT__iswgraph_l( wc, NULL );
 }
 
 /*********************************************************************




More information about the wine-cvs mailing list