From b9c119817d7ca00bc42e5102b170fe4bf76fd753 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Sat, 31 Jul 2010 16:14:49 +0200 Subject: [PATCH] Dropped '0x' before process data bytes to fit on an 80 col console. --- tool/CommandDomains.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/CommandDomains.cpp b/tool/CommandDomains.cpp index 738868a1..04a26f2d 100644 --- a/tool/CommandDomains.cpp +++ b/tool/CommandDomains.cpp @@ -71,7 +71,7 @@ string CommandDomains::helpString() const << endl << " SlaveConfig 1001:0, SM3 ( Input), LogAddr 0x00000006, Size 6" << endl - << " 0x00 0x00 0x00 0x00 0x00 0x00" << endl + << " 00 00 00 00 00 00" << endl << endl << "The process data are displayed as hexadecimal bytes." << endl << endl @@ -185,7 +185,7 @@ void CommandDomains::showDomain( for (j = 0; j < fmmu.data_size; j++) { if (j && !(j % BreakAfterBytes)) cout << endl << indent << " "; - cout << "0x" << setw(2) + cout << setw(2) << (unsigned int) *(processData + dataOffset + j) << " "; } cout << endl;