[PATCH 4/4] mshtml: Always load FTP, HTTP, and HTTPS URLs through Wine

Jacek Caban jacek at codeweavers.com
Fri Apr 2 19:12:22 CDT 2010


Hi Andrew,

On 4/3/10 12:31 AM, Andrew Eikum wrote:
> ---
>  dlls/mshtml/nsio.c |   10 +++-------
>  1 files changed, 3 insertions(+), 7 deletions(-)

-    if(!strncmp(spec, "wine:", 5)) {
-        spec += 5;

You can't remove this part. We don't want to pass "wine:" prefix to 
set_wine_url.

+    }else if(strncmp(spec, "ftp:", 4)
+            || strncmp(spec, "http:", 5)
+            || strncmp(spec, "https:", 6)) {

After removing is_wine_url, the else part should be always executed.


Jacek




More information about the wine-devel mailing list