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
693e62c8
Commit
693e62c8
authored
Feb 13, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added SchemeIs implementation.
parent
2a0d583e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
nsio.c
dlls/mshtml/nsio.c
+11
-1
No files found.
dlls/mshtml/nsio.c
View file @
693e62c8
...
...
@@ -1435,10 +1435,20 @@ static nsresult NSAPI nsURI_SchemeIs(nsIWineURI *iface, const char *scheme, PRBo
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_a
(
scheme
),
_retval
);
if
(
This
->
use_wine_url
)
{
WCHAR
buf
[
INTERNET_MAX_SCHEME_LENGTH
];
int
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
scheme
,
-
1
,
buf
,
sizeof
(
buf
)
/
sizeof
(
WCHAR
))
-
1
;
*
_retval
=
strlenW
(
This
->
wine_url
)
>
len
&&
This
->
wine_url
[
len
]
==
':'
&&
!
memcmp
(
buf
,
This
->
wine_url
,
len
*
sizeof
(
WCHAR
));
return
NS_OK
;
}
if
(
This
->
uri
)
return
nsIURI_SchemeIs
(
This
->
uri
,
scheme
,
_retval
);
FIXME
(
"default action not implemented
\n
"
);
TRACE
(
"returning error
\n
"
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
...
...
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