Nikolay Sivov : ole32: Fix debug output for user marshal flags.

Alexandre Julliard julliard at winehq.org
Mon Oct 15 14:29:07 CDT 2012


Module: wine
Branch: master
Commit: af5cee18624482b5d184a18cb24f06605c9eaaa5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=af5cee18624482b5d184a18cb24f06605c9eaaa5

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Oct 14 10:27:22 2012 -0400

ole32: Fix debug output for user marshal flags.

---

 dlls/ole32/usrmarshal.c |    4 ++--
 1 files 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));
 }
 
 /******************************************************************************




More information about the wine-cvs mailing list