Website Summary Files Commits Branches @commit @diff @stats
path: root / src / UserInterface / VenueConsoleUI.cpp
diff options
context:
space:
mode:
Commit572034064bc8579cda9cebb28e657c79e5c96e3d (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 11:02:43 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 11:02:43 +0300
Filesc80c2343c0407e8f079e449189ebe1bd98978288 /src/UserInterface/VenueConsoleUI.cpp
FMI-OOP-P1_TicketSystem-572034064bc8579cda9cebb28e657c79e5c96e3d.tar
FMI-OOP-P1_TicketSystem-572034064bc8579cda9cebb28e657c79e5c96e3d.tar.gz
FMI-OOP-P1_TicketSystem-572034064bc8579cda9cebb28e657c79e5c96e3d.zip
Parente79951e129ae4f0f6f51496c247edabce0c1d0c5 (diff)
Autocommit at 07.05.2022 @ 11:02
1 files changed, 2 insertions, 2 deletions
-rw-r--r--src/UserInterface/VenueConsoleUI.cpp4
diff --git a/src/UserInterface/VenueConsoleUI.cpp b/src/UserInterface/VenueConsoleUI.cpp
index 86cae18..3856c77 100644
--- a/src/UserInterface/VenueConsoleUI.cpp
+++ b/src/UserInterface/VenueConsoleUI.cpp
@@ -65,9 +65,9 @@ void command_reserveTicket() {
Ticket tic;
inputSubBox("Enter row and seat: ", &tic);
char password[PASSWORD_LEN];
- inputSubBox("Enter password [Max 8 characters]: ", &password);
+ inputLineSubBox("Enter password [Max 8 characters]: ", password, PASSWORD_LEN);
char note[NOTE_LEN];
- inputLineSubBox("Enter note [Max 32 characters]: ", &note, NOTE_LEN);
+ inputLineSubBox("Enter note [Max 32 characters]: ", note, NOTE_LEN);
StatusCode s = es->reserveTicket(name, date, password, note, tic);
handleStatusCode(s, ticketManagementMenu);