Jacek Caban : mshtml: Added IDM_ITALIC implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 28 05:09:22 CDT 2006


Module: wine
Branch: master
Commit: 9fb9ca0d5d4f7b6adbef1180887d8798ef180b23
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=9fb9ca0d5d4f7b6adbef1180887d8798ef180b23

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Aug 27 16:01:25 2006 +0200

mshtml: Added IDM_ITALIC 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 81de774..8da3ea2 100644
--- a/dlls/mshtml/olecmd.c
+++ b/dlls/mshtml/olecmd.c
@@ -369,6 +369,16 @@ static HRESULT exec_bold(HTMLDocument *T
     return S_OK;
 }
 
+static HRESULT exec_italic(HTMLDocument *This)
+{
+    TRACE("(%p)\n", This);
+
+    if(This->nscontainer)
+        do_ns_command(This->nscontainer, "cmd_italic", NULL);
+
+    return S_OK;
+}
+
 static HRESULT exec_browsemode(HTMLDocument *This)
 {
     WARN("(%p)\n", This);
@@ -734,6 +744,10 @@ static HRESULT WINAPI OleCommandTarget_E
             if(pvaIn || pvaOut)
                 FIXME("unsupported arguments\n");
             return exec_bold(This);
+        case IDM_ITALIC:
+            if(pvaIn || pvaOut)
+                FIXME("unsupported arguments\n");
+            return exec_italic(This);
         case IDM_BROWSEMODE:
             if(pvaIn || pvaOut)
                 FIXME("unsupported arguments\n");




More information about the wine-cvs mailing list