Jacek Caban : mshtml: Use JScript for JavaScript in res: protocol documents .
Alexandre Julliard
julliard at winehq.org
Tue Dec 22 09:58:57 CST 2009
Module: wine
Branch: master
Commit: 4e6e90896635bd4e82a828fcf870da4727c3f17a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e6e90896635bd4e82a828fcf870da4727c3f17a
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Dec 21 22:51:04 2009 +0100
mshtml: Use JScript for JavaScript in res: protocol documents.
---
dlls/mshtml/persist.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c
index eaff9dd..e6a54ac 100644
--- a/dlls/mshtml/persist.c
+++ b/dlls/mshtml/persist.c
@@ -50,9 +50,11 @@ static BOOL use_gecko_script(LPCWSTR url)
{
static const WCHAR fileW[] = {'f','i','l','e',':'};
static const WCHAR aboutW[] = {'a','b','o','u','t',':'};
+ static const WCHAR resW[] = {'r','e','s',':'};
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)
More information about the wine-cvs
mailing list