Fixed fail on empty command line

This commit is contained in:
vysheng 2013-11-01 15:27:08 +04:00
parent a18b898122
commit e92a932b34

View file

@ -416,7 +416,7 @@ void interpreter (char *line UU) {
char *command;
while (1) {
command = next_token (&l);
if (!command) { return; }
if (!command) { in_readline = 0; return; }
if (*command == '[' && command[l - 1] == ']') {
work_modifier (command);
} else {