Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c36bbc35
Commit
c36bbc35
authored
May 30, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
May 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use case insensitive comparition in parse_ua_compatible.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
02506933
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
mutation.c
dlls/mshtml/mutation.c
+2
-1
script.c
dlls/mshtml/tests/script.c
+1
-1
No files found.
dlls/mshtml/mutation.c
View file @
c36bbc35
...
...
@@ -393,11 +393,12 @@ static BOOL parse_ua_compatible(const WCHAR *p, compat_mode_t *r)
{
int
v
=
0
;
static
const
WCHAR
ie_eqW
[]
=
{
'I'
,
'E'
,
'='
};
static
const
WCHAR
edgeW
[]
=
{
'e'
,
'd'
,
'g'
,
'e'
,
0
};
TRACE
(
"%s
\n
"
,
debugstr_w
(
p
));
if
(
p
[
0
]
!=
'I'
||
p
[
1
]
!=
'E'
||
p
[
2
]
!=
'='
)
if
(
strncmpiW
(
ie_eqW
,
p
,
sizeof
(
ie_eqW
)
/
sizeof
(
WCHAR
))
)
return
FALSE
;
p
+=
3
;
...
...
dlls/mshtml/tests/script.c
View file @
c36bbc35
...
...
@@ -3425,7 +3425,7 @@ static void run_script_as_http_with_mode(const char *script, const char *opt, co
" </body>
\n
"
"</html>
\n
"
,
document_mode
?
"<!DOCTYPE html>
\n
"
:
""
,
document_mode
?
"<meta http-equiv=
\"
x-ua-compatible
\"
content=
\"
I
E
="
:
""
,
document_mode
?
"<meta http-equiv=
\"
x-ua-compatible
\"
content=
\"
I
e
="
:
""
,
document_mode
?
document_mode
:
""
,
document_mode
?
"
\"
>"
:
""
,
script
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment