From 9f242be279a1a824c9c55f8208af512f828ad95b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 12 Aug 2011 05:31:29 +0000 Subject: [PATCH] Monotone-Parent: b1f1b1e8d2d0e0165cffef74b543546db1110544 Monotone-Revision: f86ab50cdaf03ff1e97ef21346637aaef5f6ff5f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-08-12T05:31:29 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ OpenChange/plreader.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a2711722..459f0655d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-08-12 Wolfgang Sourdeau + + * OpenChange/plreader.m (-displayKey:withIndentation:): display + alternative hex representation of the keys. + 2011-08-11 Wolfgang Sourdeau * OpenChange/MAPIStoreFSFolderTable.[hm]: new module. diff --git a/OpenChange/plreader.m b/OpenChange/plreader.m index 3b4f141f6..e0be755ef 100644 --- a/OpenChange/plreader.m +++ b/OpenChange/plreader.m @@ -66,8 +66,8 @@ const char *indentationStep = " "; withIndentation: (NSInteger) anInt { [self _outputIndentation: anInt]; - printf ("%s =\n", - [[key description] UTF8String]); + + printf ("%s (0x%.8x) =\n", [[key description] UTF8String], [key intValue]); } - (void) displayWithIndentation: (NSInteger) anInt