wininet: Check for the 'http:' protocol in a locale independent way.

Francois Gouget fgouget at codeweavers.com
Tue Sep 25 04:33:05 CDT 2012


---

Nobody car^H^H^Hobjects so I'm submitting the patch<g>.
http://www.winehq.org/pipermail/wine-devel/2012-September/097083.html

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

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 28f82a3..f465ad7 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -640,7 +640,7 @@ static void HTTP_FixURL(http_request_t *request)
         }
     }
 
-    if(CSTR_EQUAL != CompareStringW( LOCALE_SYSTEM_DEFAULT, NORM_IGNORECASE,
+    if(CSTR_EQUAL != CompareStringW( LOCALE_INVARIANT, NORM_IGNORECASE,
                        request->path, strlenW(request->path), szHttp, strlenW(szHttp) )
        && request->path[0] != '/') /* not an absolute path ?? --> fix it !! */
     {
-- 
1.7.10.4



More information about the wine-patches mailing list