Commit 4e6e9089 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use JScript for JavaScript in res: protocol documents.

parent 64bd51b1
...@@ -50,9 +50,11 @@ static BOOL use_gecko_script(LPCWSTR url) ...@@ -50,9 +50,11 @@ static BOOL use_gecko_script(LPCWSTR url)
{ {
static const WCHAR fileW[] = {'f','i','l','e',':'}; static const WCHAR fileW[] = {'f','i','l','e',':'};
static const WCHAR aboutW[] = {'a','b','o','u','t',':'}; static const WCHAR aboutW[] = {'a','b','o','u','t',':'};
static const WCHAR resW[] = {'r','e','s',':'};
return strncmpiW(fileW, url, sizeof(fileW)/sizeof(WCHAR)) return strncmpiW(fileW, url, sizeof(fileW)/sizeof(WCHAR))
&& strncmpiW(aboutW, url, sizeof(aboutW)/sizeof(WCHAR)); && strncmpiW(aboutW, url, sizeof(aboutW)/sizeof(WCHAR))
&& strncmpiW(resW, url, sizeof(resW)/sizeof(WCHAR));
} }
void set_current_mon(HTMLWindow *This, IMoniker *mon) void set_current_mon(HTMLWindow *This, IMoniker *mon)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment