Re: mshtml: Do a case-insensitive compare of type (resend 1)
Any thing wrong with this patch? Best Regards Alistair Leslie-Hughes "Alistair Leslie-Hughes" <leslie_alistair(a)hotmail.com> wrote in message news:492681BB.2090608(a)hotmail.com...
Hi,
Changelog: mshtml: Do a case-insensitive compare of type
--------------------------------------------------------------------------------
From ab3346563682349645f07147c5adbcfc3ce90ebf Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Thu, 13 Nov 2008 21:38:13 +1100 Subject: [PATCH] Do a case-insensitive compare of type To: wine-patches <wine-patches(a)winehq.org>
--- 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
--------------------------------------------------------------------------------
participants (1)
-
Alistair Leslie-Hughes