[PATCH] Do a case-insensitive compare of type
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Nov 11 16:58:53 CST 2008
---
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 5df0616..37068ad 100644
--- a/dlls/mshtml/script.c
+++ b/dlls/mshtml/script.c
@@ -637,7 +637,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));
--
1.5.4.3
--------------030302050602090708090206--
More information about the wine-patches
mailing list