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
53fe2d15
Commit
53fe2d15
authored
Nov 05, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed query_edit_status when Gecko is not available.
parent
1e85e7c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
olecmd.c
dlls/mshtml/olecmd.c
+3
-6
No files found.
dlls/mshtml/olecmd.c
View file @
53fe2d15
...
...
@@ -307,18 +307,15 @@ static DWORD query_edit_status(HTMLDocument *This, const char *nscmd)
nsICommandParams
*
nsparam
;
PRBool
b
=
FALSE
;
if
(
!
This
->
nscontainer
)
{
FIXME
(
"dummy not implemented
\n
"
);
return
OLECMDF_SUPPORTED
;
}
if
(
This
->
usermode
!=
EDITMODE
||
This
->
readystate
<
READYSTATE_INTERACTIVE
)
return
OLECMDF_SUPPORTED
;
if
(
This
->
nscontainer
)
{
nsparam
=
create_nscommand_params
();
get_ns_command_state
(
This
->
nscontainer
,
nscmd
,
nsparam
);
nsICommandParams_GetBooleanValue
(
nsparam
,
"state_enabled"
,
&
b
);
nsICommandParams_GetBooleanValue
(
nsparam
,
"state_all"
,
&
b
);
}
return
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
|
(
b
?
OLECMDF_LATCHED
:
0
);
}
...
...
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