Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
31bbe886
Commit
31bbe886
authored
Feb 10, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Handle resource protocol like chrome protocol.
parent
9750893e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
nsio.c
dlls/mshtml/nsio.c
+3
-1
No files found.
dlls/mshtml/nsio.c
View file @
31bbe886
...
...
@@ -1721,6 +1721,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
const
char
*
base_uri
=
NULL
;
static
const
char
szChrome
[]
=
"chrome:"
;
static
const
char
szResource
[]
=
"resource:"
;
nsACString_Init
(
&
base_uri_str
,
NULL
);
...
...
@@ -1734,7 +1735,8 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
nsACString_Finish
(
&
base_uri_str
);
if
(
!
strncmp
(
spec
,
szChrome
,
sizeof
(
szChrome
)
-
1
))
if
(
!
strncmp
(
spec
,
szChrome
,
sizeof
(
szChrome
)
-
1
)
||
!
strncmp
(
spec
,
szResource
,
sizeof
(
szResource
)
-
1
))
aBaseURI
=
NULL
;
}
...
...
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