Commit 9a92f9cb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Improved debugstr_variant implementation.

parent 1ff1e111
......@@ -439,11 +439,14 @@ HRESULT WINAPI DllUnregisterServer(void)
const char *debugstr_variant(const VARIANT *v)
{
if(!v)
return "(null)";
switch(V_VT(v)) {
case VT_EMPTY:
return wine_dbg_sprintf("{VT_EMPTY}");
return "{VT_EMPTY}";
case VT_NULL:
return wine_dbg_sprintf("{VT_NULL}");
return "{VT_NULL}";
case VT_I4:
return wine_dbg_sprintf("{VT_I4: %d}", V_I4(v));
case VT_R8:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment