Website Summary Files Commits Branches @commit @diff @stats
path: root / src / UserInterface / VenueConsoleUI.cpp
diff options
context:
space:
mode:
Commit1e2336b3de755225f71dfb20428a86b54d5e5809 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 14:48:18 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 14:48:18 +0300
Filesb5d48ceb86e7de499ab9d07a4972c96e686a6702 /src/UserInterface/VenueConsoleUI.cpp
FMI-OOP-P1_TicketSystem-1e2336b3de755225f71dfb20428a86b54d5e5809.tar
FMI-OOP-P1_TicketSystem-1e2336b3de755225f71dfb20428a86b54d5e5809.tar.gz
FMI-OOP-P1_TicketSystem-1e2336b3de755225f71dfb20428a86b54d5e5809.zip
Parentff624f61d63dffe6c2b8ca9f3f20f2a8b5e85c33 (diff)
Autocommit at 07.05.2022 @ 14:48
1 files changed, 3 insertions, 3 deletions
-rw-r--r--src/UserInterface/VenueConsoleUI.cpp6
diff --git a/src/UserInterface/VenueConsoleUI.cpp b/src/UserInterface/VenueConsoleUI.cpp
index 7ac850d..8c3fdcf 100644
--- a/src/UserInterface/VenueConsoleUI.cpp
+++ b/src/UserInterface/VenueConsoleUI.cpp
@@ -96,7 +96,7 @@ void command_buyTicket() {
StatusCode s = es->ticketIsReserved(name, date, tic);
if (s == Success) {
- warningBox("Ticket is reserved!");
+ warningSubBox("Ticket is reserved!");
char pass[PASSWORD_LEN];
inputLineSubBox("Enter reservation password: ", pass, PASSWORD_LEN);
@@ -104,8 +104,8 @@ void command_buyTicket() {
String note;
s = es->buyTicket(name, date, tic, pass, &note);
if (note.get_length() > 0) {
- successBox("The reservation had a note attached. It reads:");
- successBox(note.get_cstr());
+ successSubBox("The reservation had a note attached. It reads:");
+ successSubBox(note.get_cstr());
}
}
else if (s == W_TicketHadNotBeenReserved) {