Fix "http://" prefix detection on the proxy URL.
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 5d51341..2f86855 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -898,10 +898,10 @@
     UrlComponents.dwHostNameLength = MAXHOSTNAME;
 
     if( CSTR_EQUAL != CompareStringW(LOCALE_SYSTEM_DEFAULT, NORM_IGNORECASE,
-                                 buf,strlenW(szHttp),szHttp,strlenW(szHttp)) )
+                                 hIC->lpszProxy,strlenW(szHttp),szHttp,strlenW(szHttp)) )
         sprintfW(proxy, szFormat1, hIC->lpszProxy);
     else
-	strcpyW(proxy,buf);
+	strcpyW(proxy, hIC->lpszProxy);
     if( !InternetCrackUrlW(proxy, 0, 0, &UrlComponents) )
         return FALSE;
     if( UrlComponents.dwHostNameLength == 0 )