diff options
author | Rafaël Carré <funman@videolan.org> | 2012-05-06 23:10:19 -0400 |
---|---|---|
committer | Rafaël Carré <funman@videolan.org> | 2012-05-06 23:13:34 -0400 |
commit | 65bb8e4452575164a36fbd503bb3d23f7061b9d1 (patch) | |
tree | 8f7769fa6cf19cdf568c808e01844482cb9c666c /apps | |
parent | aaf9a1be494812dd6aedde12ea7b3c2d3305d6b7 (diff) | |
download | rockbox-65bb8e4452575164a36fbd503bb3d23f7061b9d1.tar.gz rockbox-65bb8e4452575164a36fbd503bb3d23f7061b9d1.zip |
Remove extraneous parens
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/wps.c | 2 | ||||
-rw-r--r-- | apps/menu.c | 2 | ||||
-rw-r--r-- | apps/menus/main_menu.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 88918e16d3..25c97fe613 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -592,7 +592,7 @@ static void play_hop(int direction) | |||
592 | #endif | 592 | #endif |
593 | return; | 593 | return; |
594 | } | 594 | } |
595 | else if ((direction == -1 && elapsed < step)) | 595 | else if (direction == -1 && elapsed < step) |
596 | { | 596 | { |
597 | elapsed = 0; | 597 | elapsed = 0; |
598 | } | 598 | } |
diff --git a/apps/menu.c b/apps/menu.c index b813f03dce..7ab7b56152 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -459,7 +459,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, | |||
459 | selected = get_menu_selection(gui_synclist_get_sel_pos(&lists),menu); | 459 | selected = get_menu_selection(gui_synclist_get_sel_pos(&lists),menu); |
460 | temp = menu->submenus[selected]; | 460 | temp = menu->submenus[selected]; |
461 | type = (temp->flags&MENU_TYPE_MASK); | 461 | type = (temp->flags&MENU_TYPE_MASK); |
462 | if ((type == MT_SETTING_W_TEXT || type == MT_SETTING)) | 462 | if (type == MT_SETTING_W_TEXT || type == MT_SETTING) |
463 | { | 463 | { |
464 | #ifdef HAVE_QUICKSCREEN | 464 | #ifdef HAVE_QUICKSCREEN |
465 | MENUITEM_STRINGLIST(quickscreen_able_option, | 465 | MENUITEM_STRINGLIST(quickscreen_able_option, |
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index b7472a6849..f4b754364b 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c | |||
@@ -333,7 +333,7 @@ static int info_action_callback(int action, struct gui_synclist *lists) | |||
333 | { | 333 | { |
334 | if (action == ACTION_STD_CANCEL) | 334 | if (action == ACTION_STD_CANCEL) |
335 | return action; | 335 | return action; |
336 | else if ((action == ACTION_STD_OK) | 336 | else if (action == ACTION_STD_OK |
337 | #ifdef HAVE_HOTSWAP | 337 | #ifdef HAVE_HOTSWAP |
338 | || action == SYS_FS_CHANGED | 338 | || action == SYS_FS_CHANGED |
339 | #endif | 339 | #endif |