Website Summary Files Commits Branches @commit @diff @stats
path: root / src / VenueConsoleUI.cpp
diff options
context:
space:
mode:
Commit0802d9d40c70e960def1fb70f650b26b75c39049 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 13:38:27 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 13:38:27 +0300
Files633f66a41f839e6cce280dd7d7d823c25ba0e382 /src/VenueConsoleUI.cpp
FMI-OOP-P1_TicketSystem-0802d9d40c70e960def1fb70f650b26b75c39049.tar
FMI-OOP-P1_TicketSystem-0802d9d40c70e960def1fb70f650b26b75c39049.tar.gz
FMI-OOP-P1_TicketSystem-0802d9d40c70e960def1fb70f650b26b75c39049.zip
Parent45f11f684101c1683251f591a135fe292268b8f7 (diff)
Autocommit at 05.05.2022 @ 13:38
1 files changed, 3 insertions, 2 deletions
-rw-r--r--src/VenueConsoleUI.cpp5
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp
index 45be474..539ad4e 100644
--- a/src/VenueConsoleUI.cpp
+++ b/src/VenueConsoleUI.cpp
@@ -6,8 +6,9 @@
Venue v;
void command_newEvent() {
- String name;
- inputStrBox(name, 1024, "Enter event name: ");
+ char name[MAX_LINE_WIDTH];
+ inputLineBox("Enter event name: ", name, MAX_LINE_WIDTH);
+
v.es.createEvent();
}