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 | |
parent | cb3e696468ed6ff56ebb159ea22e397a140c5628 (diff) | |
download | rockbox-4242a9998586f2593e45034ef3fa9ad59bc61bb3.tar.gz rockbox-4242a9998586f2593e45034ef3fa9ad59bc61bb3.zip |
Oops, rename the global bool exit to done
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9490 a1c6a512-1295-4272-9138-f99709370657
-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 8271d1f7f9..51bf03af75 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -1059,7 +1059,7 @@ static int col_limit(int col) | |||
1059 | } | 1059 | } |
1060 | 1060 | ||
1061 | 1061 | ||
1062 | bool exit=false; | 1062 | bool done=false; |
1063 | int col = 0; | 1063 | int col = 0; |
1064 | 1064 | ||
1065 | static void show_menu(void) | 1065 | static void show_menu(void) |
@@ -1077,7 +1077,7 @@ static void show_menu(void) | |||
1077 | { | 1077 | { |
1078 | case 0: | 1078 | case 0: |
1079 | viewer_exit(NULL); | 1079 | viewer_exit(NULL); |
1080 | exit = true; | 1080 | done = true; |
1081 | break; | 1081 | break; |
1082 | case 1: | 1082 | case 1: |
1083 | playback_control(rb); | 1083 | playback_control(rb); |
@@ -1114,7 +1114,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
1114 | 1114 | ||
1115 | viewer_draw(col); | 1115 | viewer_draw(col); |
1116 | 1116 | ||
1117 | while (!exit) { | 1117 | while (!done) { |
1118 | button = rb->button_get(true); | 1118 | button = rb->button_get(true); |
1119 | switch (button) { | 1119 | switch (button) { |
1120 | case VIEWER_MENU: | 1120 | case VIEWER_MENU: |