From 4242a9998586f2593e45034ef3fa9ad59bc61bb3 Mon Sep 17 00:00:00 2001 From: Hristo Kovachev Date: Tue, 4 Apr 2006 12:27:47 +0000 Subject: [PATCH] Oops, rename the global bool exit to done git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9490 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 8271d1f7f9..51bf03af75 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -1059,7 +1059,7 @@ static int col_limit(int col) } -bool exit=false; +bool done=false; int col = 0; static void show_menu(void) @@ -1077,7 +1077,7 @@ static void show_menu(void) { case 0: viewer_exit(NULL); - exit = true; + done = true; break; case 1: playback_control(rb); @@ -1114,7 +1114,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) viewer_draw(col); - while (!exit) { + while (!done) { button = rb->button_get(true); switch (button) { case VIEWER_MENU: