Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface / Toolbox.cpp
diff options
context:
space:
mode:
Commit1a0ff4a9dab713514d116ec455c0def715f1302b (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-06 09:51:18 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-06 09:51:18 +0300
Files2fa9229649411f019916d21174673c53ad47fbca /src/ConsoleInterface/Toolbox.cpp
FMI-OOP-P1_TicketSystem-1a0ff4a9dab713514d116ec455c0def715f1302b.tar
FMI-OOP-P1_TicketSystem-1a0ff4a9dab713514d116ec455c0def715f1302b.tar.gz
FMI-OOP-P1_TicketSystem-1a0ff4a9dab713514d116ec455c0def715f1302b.zip
Parent3911efcb1588481f9d95c91e39fe470bcc5a50a5 (diff)
Autocommit at 06.05.2022 @ 09:51
1 files changed, 2 insertions, 2 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.cpp4
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;
}