forked from len0rd/rockbox
Oops, rename the global bool exit to done
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9490 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cb3e696468
commit
4242a99985
1 changed files with 3 additions and 3 deletions
|
|
@ -1059,7 +1059,7 @@ static int col_limit(int col)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool exit=false;
|
bool done=false;
|
||||||
int col = 0;
|
int col = 0;
|
||||||
|
|
||||||
static void show_menu(void)
|
static void show_menu(void)
|
||||||
|
|
@ -1077,7 +1077,7 @@ static void show_menu(void)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
viewer_exit(NULL);
|
viewer_exit(NULL);
|
||||||
exit = true;
|
done = true;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
playback_control(rb);
|
playback_control(rb);
|
||||||
|
|
@ -1114,7 +1114,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
|
||||||
|
|
||||||
viewer_draw(col);
|
viewer_draw(col);
|
||||||
|
|
||||||
while (!exit) {
|
while (!done) {
|
||||||
button = rb->button_get(true);
|
button = rb->button_get(true);
|
||||||
switch (button) {
|
switch (button) {
|
||||||
case VIEWER_MENU:
|
case VIEWER_MENU:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue