diff options
| author | Hristo Kovachev <bger@rockbox.org> | 2006-04-04 12:27:47 +0000 |
|---|---|---|
| committer | Hristo Kovachev <bger@rockbox.org> | 2006-04-04 12:27:47 +0000 |
| commit | 4242a9998586f2593e45034ef3fa9ad59bc61bb3 (patch) | |
| tree | adc992ebe9ee1e30bea42aae9a06c2b823b95035 /apps/plugins | |
| parent | cb3e696468ed6ff56ebb159ea22e397a140c5628 (diff) | |
| download | rockbox-4242a9998586f2593e45034ef3fa9ad59bc61bb3.zip rockbox-4242a9998586f2593e45034ef3fa9ad59bc61bb3.tar.gz rockbox-4242a9998586f2593e45034ef3fa9ad59bc61bb3.tar.bz2 rockbox-4242a9998586f2593e45034ef3fa9ad59bc61bb3.tar.xz | |
Oops, rename the global bool exit to done
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9490 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/viewer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 8271d1f..51bf03a 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: |