>From 40b6ba77636a7919632a7f4f47a2696222a74108 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Tue, 10 Jan 2012 15:33:34 +0300
Subject: [PATCH 1/1] Debug output support for VT_ERROR

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

diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c
index c4e4303..464ef90 100644
--- a/dlls/msxml3/main.c
+++ b/dlls/msxml3/main.c
@@ -289,6 +289,8 @@ const char *debugstr_variant(const VARIANT *v)
     case VT_BSTR|VT_BYREF:
         return wine_dbg_sprintf("{VT_BSTR|VT_BYREF: ptr %p, data %s}",
             V_BSTRREF(v), debugstr_w(V_BSTRREF(v) ? *V_BSTRREF(v) : NULL));
+    case VT_ERROR:
+        return wine_dbg_sprintf("{VT_ERROR: 0x%08x}", V_ERROR(v));
     default:
         return wine_dbg_sprintf("{vt %d}", V_VT(v));
     }
-- 
1.5.6.5

