diff options
Autocommit at 06.05.2022 @ 09:51
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | src/ConsoleInterface/Toolbox.cpp | 4 |
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index 35aee1c..25f1c64 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -33,11 +33,11 @@ void errorBox(const char* message) { } void __printTableColumnHeader(unsigned start, unsigned count) { - for (unsigned i = 0; i < count - 1; i++, start++) + for (unsigned i = 0; i < count; i++, start++) std::cout << ":" << ((start < 100) ? " " : "") << start << ((start < 10) ? " " : ""); std::cout << ":" << std::endl; - for (unsigned i = 0; i < count - 1; i++) + for (unsigned i = 0; i < count; i++) std::cout << "...."; std::cout << "." << std::endl; } |
