From 5bce55428b9a65b42711aa86ee99243213f38fcf Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Sat, 16 Apr 2011 19:40:04 +0430 Subject: [PATCH] exit even when paused --- fbff.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fbff.c b/fbff.c index da19b40..8acc135 100644 --- a/fbff.c +++ b/fbff.c @@ -197,8 +197,10 @@ static int is_vsync(void) static void mainloop(void) { int eof = 0; - while (!exited) { + while (1) { execkey(); + if (exited) + break; if (paused) { a_doreset(1); waitkey(); -- 2.11.4.GIT