[PATCH] Do a case-insensitive compare of type

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Nov 13 04:38:13 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 4d10853..90bfef9 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));
-- 
1.5.4.3


--------------060505000804020607070102--



More information about the wine-patches mailing list