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
239b86fe
Commit
239b86fe
authored
Jun 10, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't do anything in exec_editmode if edit mode is already set.
parent
95e96fd5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
olecmd.c
dlls/mshtml/olecmd.c
+3
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+4
-0
No files found.
dlls/mshtml/olecmd.c
View file @
239b86fe
...
...
@@ -523,6 +523,9 @@ static HRESULT exec_editmode(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
if
(
in
||
out
)
FIXME
(
"unsupported args
\n
"
);
if
(
This
->
usermode
==
EDITMODE
)
return
S_OK
;
This
->
usermode
=
EDITMODE
;
if
(
This
->
frame
)
...
...
dlls/mshtml/tests/htmldoc.c
View file @
239b86fe
...
...
@@ -2571,6 +2571,10 @@ static void test_exec_editmode(IUnknown *unk)
IOleCommandTarget_Release
(
cmdtrg
);
editmode
=
TRUE
;
hres
=
IOleCommandTarget_Exec
(
cmdtrg
,
&
CGID_MSHTML
,
IDM_EDITMODE
,
OLECMDEXECOPT_DODEFAULT
,
NULL
,
NULL
);
ok
(
hres
==
S_OK
,
"Exec failed: %08x
\n
"
,
hres
);
}
static
HWND
create_container_window
(
void
)
...
...
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