mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 04:52:32 +00:00
Fixed input parsing issue in ConsoleLayout. This must have been a bug
since forever.
This commit is contained in:
parent
f700b8055f
commit
5465b072ee
@ -214,6 +214,10 @@ bool ConsoleLayout::ProcessCommand(const std::string& cmd) {
|
||||
}
|
||||
}
|
||||
|
||||
if (args.size() == 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string name = args.size() > 0 ? args[0] : "";
|
||||
args.erase(args.begin());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user