allow empty strings as result of inputcommand

This commit is contained in:
ac-stef
2017-05-16 13:08:21 +02:00
parent 67a6b78353
commit e256971725
+1 -1
View File
@@ -563,7 +563,7 @@ void consolekey(int code, bool isdown, int cooked, SDLMod mod)
if(code == SDL_AC_BUTTON_LEFT && histpos == history.length()) return;
hline *h = NULL;
if(cmdline.buf[0])
if(cmdline.buf[0] || cmdaction)
{
if(history.empty() || history.last()->shouldsave())
{