Alistair Leslie-Hughes : mshtml: Do a case-insensitive compare of type.
Alexandre Julliard
julliard at winehq.org
Wed Feb 11 09:25:28 CST 2009
Module: wine
Branch: master
Commit: 87ce5275bb876149ccc4df7567b96516453bf769
URL: http://source.winehq.org/git/wine.git/?a=commit;h=87ce5275bb876149ccc4df7567b96516453bf769
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Nov 13 21:38:13 2008 +1100
mshtml: Do a case-insensitive compare of type.
---
dlls/mshtml/script.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/script.c b/dlls/mshtml/script.c
index 4b1a240..fb90b46 100644
--- a/dlls/mshtml/script.c
+++ b/dlls/mshtml/script.c
@@ -640,7 +640,7 @@ static BOOL get_guid_from_type(LPCWSTR type, GUID *guid)
{'t','e','x','t','/','j','a','v','a','s','c','r','i','p','t',0};
/* FIXME: Handle more types */
- if(!strcmpW(type, text_javascriptW)) {
+ if(!strcmpiW(type, text_javascriptW)) {
*guid = CLSID_JScript;
}else {
FIXME("Unknown type %s\n", debugstr_w(type));
More information about the wine-cvs
mailing list