Andrew Eikum : mshtml: Fix typo determining if channel is HTTP.

Alexandre Julliard julliard at winehq.org
Mon Mar 22 11:11:59 CDT 2010


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

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Fri Mar 19 15:57:26 2010 -0500

mshtml: Fix typo determining if channel is HTTP.

---

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

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index 88a4e55..4610bbc 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -307,7 +307,7 @@ static void set_uri_window(nsWineURI *This, HTMLWindow *window)
 
 static inline BOOL is_http_channel(nsChannel *This)
 {
-    return This->url_scheme == URL_SCHEME_HTTP || This->url_scheme == URL_SCHEME_HTTP;
+    return This->url_scheme == URL_SCHEME_HTTP || This->url_scheme == URL_SCHEME_HTTPS;
 }
 
 #define NSCHANNEL_THIS(iface) DEFINE_THIS(nsChannel, HttpChannel, iface)




More information about the wine-cvs mailing list