[PATCH] mfplat: Add VT_R4 case for propvariant tracing.

Nikolay Sivov nsivov at codeweavers.com
Sun Feb 20 09:48:12 CST 2022


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/mfplat/mfplat_private.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/mfplat/mfplat_private.h b/dlls/mfplat/mfplat_private.h
index dc29545df73..8418c8eb2ef 100644
--- a/dlls/mfplat/mfplat_private.h
+++ b/dlls/mfplat/mfplat_private.h
@@ -133,6 +133,8 @@ static inline const char *debugstr_propvar(const PROPVARIANT *v)
             return wine_dbg_sprintf("%p {VT_UI8: %s}", v, wine_dbgstr_longlong(v->uhVal.QuadPart));
         case VT_I8:
             return wine_dbg_sprintf("%p {VT_I8: %s}", v, wine_dbgstr_longlong(v->hVal.QuadPart));
+        case VT_R4:
+            return wine_dbg_sprintf("%p {VT_R4: %.8e}", v, v->fltVal);
         case VT_R8:
             return wine_dbg_sprintf("%p {VT_R8: %lf}", v, v->dblVal);
         case VT_CLSID:
-- 
2.34.1




More information about the wine-devel mailing list