Jacek Caban : mshtml: Added VT_ERROR printing to debugstr_variant.

Alexandre Julliard julliard at winehq.org
Tue Jun 7 12:02:37 CDT 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Jun  7 11:30:07 2011 +0200

mshtml: Added VT_ERROR printing to debugstr_variant.

---

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

diff --git a/dlls/mshtml/main.c b/dlls/mshtml/main.c
index 18cdaec..1661c26 100644
--- a/dlls/mshtml/main.c
+++ b/dlls/mshtml/main.c
@@ -521,6 +521,8 @@ const char *debugstr_variant(const VARIANT *v)
         return wine_dbg_sprintf("{VT_BSTR: %s}", debugstr_w(V_BSTR(v)));
     case VT_DISPATCH:
         return wine_dbg_sprintf("{VT_DISPATCH: %p}", V_DISPATCH(v));
+    case VT_ERROR:
+        return wine_dbg_sprintf("{VT_ERROR: %08x}", V_ERROR(v));
     case VT_BOOL:
         return wine_dbg_sprintf("{VT_BOOL: %x}", V_BOOL(v));
     case VT_UINT:




More information about the wine-cvs mailing list