Martin Fuchs : shell32: MSVC compatibility fix in dump_pidl_hex().

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 12 06:43:21 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 73096db50133187cc18dffa23b4be99af3c2abd4
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=73096db50133187cc18dffa23b4be99af3c2abd4

Author: Martin Fuchs <martin-fuchs at gmx.net>
Date:   Thu Jan 12 13:29:21 2006 +0100

shell32: MSVC compatibility fix in dump_pidl_hex().

---

 dlls/shell32/debughlp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/debughlp.c b/dlls/shell32/debughlp.c
index 46230b6..35b6b2c 100644
--- a/dlls/shell32/debughlp.c
+++ b/dlls/shell32/debughlp.c
@@ -224,7 +224,8 @@ void pdump (LPCITEMIDLIST pidl)
 static void dump_pidl_hex( LPCITEMIDLIST pidl )
 {
     const unsigned char *p = (const unsigned char *)pidl;
-    const int max_bytes = 0x80, max_line = 0x10;
+    const int max_bytes = 0x80;
+#define max_line 0x10
     char szHex[max_line*3+1], szAscii[max_line+1];
     int i, n;
 




More information about the wine-cvs mailing list