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

Alexandre Julliard julliard at winehq.org
Tue Sep 25 15:13:38 CDT 2012


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Sep 25 11:33:05 2012 +0200

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

---

 dlls/wininet/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 !! */
     {




More information about the wine-cvs mailing list