Akihiro Sagawa : shlwapi: Use isalnumW() instead of isalnum() for WCHARs.

Alexandre Julliard julliard at winehq.org
Wed May 17 15:58:29 CDT 2017


Module: wine
Branch: master
Commit: 98d0fa99da488b84d3e6238a447308cd7227c34c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=98d0fa99da488b84d3e6238a447308cd7227c34c

Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date:   Wed May 17 21:35:44 2017 +0900

shlwapi: Use isalnumW() instead of isalnum() for WCHARs.

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shlwapi/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c
index 89d5a5d..bda4eb2 100644
--- a/dlls/shlwapi/url.c
+++ b/dlls/shlwapi/url.c
@@ -809,7 +809,7 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
 		process_case = 1;
 		break;
 	    }
-            if (isalnum(*mrelative) && (*(mrelative + 1) == ':')) {
+            if (isalnumW(*mrelative) && (*(mrelative + 1) == ':')) {
 		/* case that becomes "file:///" */
 		strcpyW(preliminary, myfilestr);
 		process_case = 1;




More information about the wine-cvs mailing list