Jacek Caban : mshtml: Added IDM_UNDERLINE implementation.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 28 05:09:23 CDT 2006
Module: wine
Branch: master
Commit: fd79923100ea4eabae1ad32aff38778f763ad864
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=fd79923100ea4eabae1ad32aff38778f763ad864
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Aug 27 16:01:45 2006 +0200
mshtml: Added IDM_UNDERLINE implementation.
---
dlls/mshtml/olecmd.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/olecmd.c b/dlls/mshtml/olecmd.c
index 8da3ea2..d66b2f0 100644
--- a/dlls/mshtml/olecmd.c
+++ b/dlls/mshtml/olecmd.c
@@ -379,6 +379,16 @@ static HRESULT exec_italic(HTMLDocument
return S_OK;
}
+static HRESULT exec_underline(HTMLDocument *This)
+{
+ TRACE("(%p)\n", This);
+
+ if(This->nscontainer)
+ do_ns_command(This->nscontainer, "cmd_underline", NULL);
+
+ return S_OK;
+}
+
static HRESULT exec_browsemode(HTMLDocument *This)
{
WARN("(%p)\n", This);
@@ -748,6 +758,10 @@ static HRESULT WINAPI OleCommandTarget_E
if(pvaIn || pvaOut)
FIXME("unsupported arguments\n");
return exec_italic(This);
+ case IDM_UNDERLINE:
+ if(pvaIn || pvaOut)
+ FIXME("unsupported arguments\n");
+ return exec_underline(This);
case IDM_BROWSEMODE:
if(pvaIn || pvaOut)
FIXME("unsupported arguments\n");
More information about the wine-cvs
mailing list