From 00da8606819cddd8340a0c6e8785b3f3b206b31b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 10 Apr 2018 16:34:33 +0200 Subject: [PATCH] Cleanup --- menu/drivers/xmb.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index ee8f467dc3..4c979fe0e0 100755 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1029,19 +1029,22 @@ static void xmb_update_thumbnail_path(void *data, unsigned i, char pos) if (string_is_equal(core_name, "imageviewer")) { - if (pos == 'R' || (pos == 'L' && string_is_equal(xmb_thumbnails_ident('R'), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF)))) + if ( + (pos == 'R') || + ( + pos == 'L' && + string_is_equal(xmb_thumbnails_ident('R'), + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF)) + ) + ) { if (!string_is_empty(entry.label)) strlcpy(new_path, entry.label, sizeof(new_path)); - goto end; } else - { xmb->left_thumbnail = 0; - goto end; - } + goto end; } }