From 5bd6b569cda5788b4d8ba028e99cf9ea17a521b7 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 27 Feb 2015 14:38:31 +0300 Subject: [PATCH] include/debug.h: Support tracing of VT_BSTR|VT_BYREF. --- include/wine/debug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wine/debug.h b/include/wine/debug.h index 54659351b41..9028cb512f1 100644 --- a/include/wine/debug.h +++ b/include/wine/debug.h @@ -277,6 +277,8 @@ static inline const char *wine_dbgstr_variant( const VARIANT *v ) if (V_VT(v) & VT_BYREF) { if (V_VT(v) == (VT_VARIANT|VT_BYREF)) return wine_dbg_sprintf( "%p {VT_VARIANT|VT_BYREF: %s}", v, wine_dbgstr_variant(V_VARIANTREF(v)) ); + if (V_VT(v) == (VT_BSTR|VT_BYREF)) + return wine_dbg_sprintf( "%p {VT_BSTR|VT_BYREF: %s}", v, wine_dbgstr_w(*V_BSTRREF(v)) ); return wine_dbg_sprintf( "%p {%s %p}", v, wine_dbgstr_vt(V_VT(v)), V_BYREF(v) ); } -- 2.11.4.GIT