[1/5] ole32: Fix debug output for user marshal flags

Nikolay Sivov nsivov at codeweavers.com
Mon Oct 15 06:46:39 CDT 2012


First MAKELONG() argument is a loword.

-------------- next part --------------
>From 83e18d53f14187fdb1f0f2d99312841cea3c1a07 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sun, 14 Oct 2012 10:27:22 -0400
Subject: [PATCH 2/6] Fix debug output for user marshal flags

---
 dlls/ole32/usrmarshal.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/usrmarshal.c b/dlls/ole32/usrmarshal.c
index 8f5feef..d1f56c7 100644
--- a/dlls/ole32/usrmarshal.c
+++ b/dlls/ole32/usrmarshal.c
@@ -74,9 +74,9 @@ static const char* debugstr_user_flags(ULONG *pFlags)
     }
 
     if (HIWORD(*pFlags) == NDR_LOCAL_DATA_REPRESENTATION)
-        return wine_dbg_sprintf("MAKELONG(NDR_LOCAL_REPRESENTATION, %s)", loword);
+        return wine_dbg_sprintf("MAKELONG(%s, NDR_LOCAL_DATA_REPRESENTATION)", loword);
     else
-        return wine_dbg_sprintf("MAKELONG(0x%04x, %s)", HIWORD(*pFlags), loword);
+        return wine_dbg_sprintf("MAKELONG(%s, 0x%04x)", loword, HIWORD(*pFlags));
 }
 
 /******************************************************************************
-- 
1.7.10.4




More information about the wine-patches mailing list