Dropped '0x' before process data bytes to fit on an 80 col console.

This commit is contained in:
Florian Pose 2010-07-31 16:14:49 +02:00
parent 0b0f43ee10
commit b9c119817d
1 changed files with 2 additions and 2 deletions

View File

@ -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;