move curly brackets that start on the same line as the statement down a line

oops.
This commit is contained in:
Skirlez 2022-12-28 22:11:27 +02:00 committed by LibretroAdmin
parent 710625e0e6
commit 48d3cca8b2
3 changed files with 11 additions and 8 deletions

View File

@ -251,9 +251,8 @@ static int action_right_scroll(unsigned type, const char *label,
}
else
{
if ((menu_entries_get_size() > 0)) {
if ((menu_entries_get_size() > 0))
menu_driver_ctl(MENU_NAVIGATION_CTL_SET_LAST, NULL);
}
}
#ifdef HAVE_AUDIOMIXER
if (selection != menu_navigation_get_selection())

View File

@ -9238,11 +9238,12 @@ static enum menu_action materialui_parse_menu_entry_action(
}
/* > ...otherwise, if current selection is off
* screen, auto select *first* item */
else {
else
{
materialui_auto_select_onscreen_entry(mui, MUI_ONSCREEN_ENTRY_FIRST);
#ifdef HAVE_AUDIOMIXER
if (menu_navigation_get_selection() != menu_entries_get_size() - 1)
audio_driver_mixer_play_scroll_sound(false);
if (menu_navigation_get_selection() != menu_entries_get_size() - 1)
audio_driver_mixer_play_scroll_sound(false);
#endif
}
break;

View File

@ -7879,7 +7879,8 @@ static enum menu_action ozone_parse_menu_entry_action(
break;
}
else {
else
{
#ifdef HAVE_AUDIOMIXER
if (selection_total > 1)
audio_driver_mixer_play_scroll_sound(false);
@ -7921,7 +7922,8 @@ static enum menu_action ozone_parse_menu_entry_action(
#endif
break;
}
else {
else
{
#ifdef HAVE_AUDIOMIXER
if (selection_total > 1)
audio_driver_mixer_play_scroll_sound(true);
@ -8002,7 +8004,8 @@ static enum menu_action ozone_parse_menu_entry_action(
break;
}
if (!(ozone->flags & OZONE_FLAG_EMPTY_PLAYLIST)) {
if (!(ozone->flags & OZONE_FLAG_EMPTY_PLAYLIST))
{
ozone_leave_sidebar(ozone, ozone_collapse_sidebar, tag);
#ifdef HAVE_AUDIOMIXER
audio_driver_mixer_play_scroll_sound(false);