mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
CMake file
Update to C++ 11: std::shared_ptr, for each loops Update to wxWidgets 3.0+
This commit is contained in:
@@ -125,7 +125,7 @@ void CLISetInterface::handleCommand(const String& command) {
|
||||
// :something
|
||||
size_t space = min(command.find_first_of(_(' ')), command.size());
|
||||
String before = command.substr(0,space);
|
||||
String arg = space + 1 < command.size() ? command.substr(space+1) : wxEmptyString;
|
||||
String arg = space + 1 < command.size() ? command.substr(space+1) : String();
|
||||
if (before == _(":q") || before == _(":quit")) {
|
||||
if (!quiet) {
|
||||
cli << _("Goodbye\n");
|
||||
|
||||
Reference in New Issue
Block a user