Jacek Caban : mshtml: Don't check out variant type in exec_fontname.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 11 08:46:39 CDT 2007


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Jun 10 11:43:53 2007 +0200

mshtml: Don't check out variant type in exec_fontname.

---

 dlls/mshtml/editor.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/mshtml/editor.c b/dlls/mshtml/editor.c
index 03cc546..7bebe3d 100644
--- a/dlls/mshtml/editor.c
+++ b/dlls/mshtml/editor.c
@@ -607,11 +607,6 @@ static HRESULT exec_fontname(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
         DWORD len;
         nsresult nsres;
 
-        if(V_VT(out) != VT_BSTR) {
-            FIXME("Unsupported vt=%d\n", V_VT(out));
-            return E_INVALIDARG;
-        }
-
         nsparam = create_nscommand_params();
 
         nsres = get_ns_command_state(This->nscontainer, NSCMD_FONTFACE, nsparam);




More information about the wine-cvs mailing list