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

This commit is contained in:
Jacek Caban 2009-12-21 22:51:04 +01:00 committed by Alexandre Julliard
parent 64bd51b1d3
commit 4e6e908966
1 changed files with 3 additions and 1 deletions

View File

@ -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)