Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a611b20c
Commit
a611b20c
authored
Feb 24, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Improve ConfirmEx hack.
parent
be6d891f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
nsservice.c
dlls/mshtml/nsservice.c
+5
-5
No files found.
dlls/mshtml/nsservice.c
View file @
a611b20c
...
@@ -122,14 +122,14 @@ static nsresult NSAPI nsPromptService_ConfirmEx(nsIPromptService *iface,
...
@@ -122,14 +122,14 @@ static nsresult NSAPI nsPromptService_ConfirmEx(nsIPromptService *iface,
* This is really very very ugly hack!!!
* This is really very very ugly hack!!!
*/
*/
if
(
!
memcmp
(
aButton0Title
,
wszContinue
,
sizeof
(
wszContinue
)))
if
(
aButton0Title
&&
!
memcmp
(
aButton0Title
,
wszContinue
,
sizeof
(
wszContinue
)))
*
_retval
=
0
;
*
_retval
=
0
;
else
if
(
!
memcmp
(
aButton1Title
,
wszContinue
,
sizeof
(
wszContinue
)))
else
if
(
aButton1Title
&&
!
memcmp
(
aButton1Title
,
wszContinue
,
sizeof
(
wszContinue
)))
*
_retval
=
1
;
*
_retval
=
1
;
else
if
(
!
memcmp
(
aButton2Title
,
wszContinue
,
sizeof
(
wszContinue
)))
else
if
(
aButton2Title
&&
!
memcmp
(
aButton2Title
,
wszContinue
,
sizeof
(
wszContinue
)))
*
_retval
=
2
;
*
_retval
=
2
;
else
/*
else
*
_retval
=
0
;
* let's hope that _retval is set to the default value */
return
NS_OK
;
return
NS_OK
;
}
}
...
...
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