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
d0dbf57c
Commit
d0dbf57c
authored
Nov 30, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Always set use_wine_url if there is no necko nsIURI available.
parent
a7561564
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
nsio.c
dlls/mshtml/nsio.c
+9
-5
No files found.
dlls/mshtml/nsio.c
View file @
d0dbf57c
...
...
@@ -2267,11 +2267,15 @@ static nsresult NSAPI nsURI_SetWineURL(nsIWineURI *iface, LPCWSTR aURL)
This
->
wine_url
=
heap_alloc
(
len
*
sizeof
(
WCHAR
));
memcpy
(
This
->
wine_url
,
aURL
,
len
*
sizeof
(
WCHAR
));
/* FIXME: Always use wine url */
This
->
use_wine_url
=
strncmpW
(
aURL
,
wszFtp
,
sizeof
(
wszFtp
)
/
sizeof
(
WCHAR
))
&&
strncmpW
(
aURL
,
wszHttp
,
sizeof
(
wszHttp
)
/
sizeof
(
WCHAR
))
&&
strncmpW
(
aURL
,
wszHttps
,
sizeof
(
wszHttps
)
/
sizeof
(
WCHAR
));
if
(
This
->
uri
)
{
/* FIXME: Always use wine url */
This
->
use_wine_url
=
strncmpW
(
aURL
,
wszFtp
,
sizeof
(
wszFtp
)
/
sizeof
(
WCHAR
))
&&
strncmpW
(
aURL
,
wszHttp
,
sizeof
(
wszHttp
)
/
sizeof
(
WCHAR
))
&&
strncmpW
(
aURL
,
wszHttps
,
sizeof
(
wszHttps
)
/
sizeof
(
WCHAR
));
}
else
{
This
->
use_wine_url
=
TRUE
;
}
}
else
{
This
->
wine_url
=
NULL
;
This
->
use_wine_url
=
FALSE
;
...
...
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