Show Pdo bit lengths right-aligned.
authorFlorian Pose <fp@igh-essen.com>
Fri, 01 Aug 2008 12:29:04 +0000
changeset 1187 aa616c3286ce
parent 1186 ff481f097c97
child 1188 3b4e82d9904b
Show Pdo bit lengths right-aligned.
tool/CommandPdos.cpp
--- a/tool/CommandPdos.cpp	Fri Aug 01 12:28:18 2008 +0000
+++ b/tool/CommandPdos.cpp	Fri Aug 01 12:29:04 2008 +0000
@@ -130,7 +130,8 @@
                     << hex << setfill('0')
                     << setw(4) << entry.index
                     << ":" << setw(2) << (unsigned int) entry.subindex
-                    << ", " << dec << (unsigned int) entry.bit_length
+                    << ", " << dec << setfill(' ')
+                    << setw(2) << (unsigned int) entry.bit_length
                     << " bit, \"" << entry.name << "\"" << endl;
             }
         }