From 09c39a91d777567d15fa230155a646ad4c880770 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 27 Nov 2017 04:49:21 +0100 Subject: [PATCH] Cleanups --- menu/drivers/xmb.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 6301b86cd1..0392da6f34 100755 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -2243,15 +2243,17 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb, } #ifdef HAVE_CHEEVOS - if ((type >= MENU_SETTINGS_CHEEVOS_START) && - (type < MENU_SETTINGS_NETPLAY_ROOMS_START)) - { + if ( + (type >= MENU_SETTINGS_CHEEVOS_START) && + (type < MENU_SETTINGS_NETPLAY_ROOMS_START) + ) + { int new_id = type - MENU_SETTINGS_CHEEVOS_START; - if ( get_badge_texture(new_id) != 0 ) - return get_badge_texture( new_id ); - else - return xmb->textures.list[XMB_TEXTURE_SUBSETTING]; // Should be replaced with placeholder badge icon. - } + if (get_badge_texture(new_id) != 0) + return get_badge_texture(new_id); + /* Should be replaced with placeholder badge icon. */ + return xmb->textures.list[XMB_TEXTURE_SUBSETTING]; + } #endif return xmb->textures.list[XMB_TEXTURE_SUBSETTING];