From e92a932b34cca959620b743384550c978b1b450c Mon Sep 17 00:00:00 2001 From: vysheng Date: Fri, 1 Nov 2013 15:27:08 +0400 Subject: [PATCH] Fixed fail on empty command line --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index e582688..174fdbc 100644 --- a/interface.c +++ b/interface.c @@ -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 {