Website Summary Files Commits Branches @commit @diff @stats
path: root / src / UserInterface / VenueConsoleUI.cpp
diff options
context:
space:
mode:
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);