mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(XMB) use string_is_equal
This commit is contained in:
parent
2f2ddb472a
commit
7fe5d21452
@ -788,7 +788,7 @@ static void xmb_selection_pointer_changed(
|
||||
iz = xmb->items.active.zoom;
|
||||
|
||||
depth = xmb_list_get_size(xmb, MENU_LIST_PLAIN);
|
||||
if (strcmp(xmb_thumbnails_ident(), "OFF") && depth == 1)
|
||||
if (!string_is_equal(xmb_thumbnails_ident(), "OFF") && depth == 1)
|
||||
{
|
||||
xmb_update_thumbnail_path(xmb, i);
|
||||
xmb_update_thumbnail_image(xmb);
|
||||
@ -1216,7 +1216,7 @@ static void xmb_list_switch(xmb_handle_t *xmb)
|
||||
xmb_list_switch_new(xmb, selection_buf, dir, selection);
|
||||
xmb->categories.active.idx_old = xmb->categories.selection_ptr;
|
||||
|
||||
if (strcmp(xmb_thumbnails_ident(), "OFF"))
|
||||
if (!string_is_equal(xmb_thumbnails_ident(), "OFF"))
|
||||
{
|
||||
xmb_update_thumbnail_path(xmb, 0);
|
||||
xmb_update_thumbnail_image(xmb);
|
||||
@ -1523,7 +1523,7 @@ static void xmb_populate_entries(void *data,
|
||||
{
|
||||
xmb_selection_pointer_changed(xmb, false);
|
||||
menu_driver_ctl(RARCH_MENU_CTL_UNSET_PREVENT_POPULATE, NULL);
|
||||
if (strcmp(xmb_thumbnails_ident(), "OFF"))
|
||||
if (!string_is_equal(xmb_thumbnails_ident(), "OFF"))
|
||||
xmb_update_thumbnail_image(xmb);
|
||||
return;
|
||||
}
|
||||
@ -1765,7 +1765,7 @@ static void xmb_draw_items(xmb_handle_t *xmb,
|
||||
ticker_limit = 35;
|
||||
if (string_is_empty(entry.value))
|
||||
{
|
||||
if (strcmp(xmb_thumbnails_ident(), "OFF") && xmb->thumbnail)
|
||||
if (!string_is_equal(xmb_thumbnails_ident(), "OFF") && xmb->thumbnail)
|
||||
ticker_limit = 40;
|
||||
else
|
||||
ticker_limit = 70;
|
||||
@ -2098,7 +2098,7 @@ static void xmb_frame(void *data)
|
||||
menu_display_rotate_z(&rotate_draw);
|
||||
menu_display_blend_begin();
|
||||
|
||||
if (strcmp(xmb_thumbnails_ident(), "OFF") && xmb->thumbnail)
|
||||
if (!string_is_equal(xmb_thumbnails_ident(), "OFF") && xmb->thumbnail)
|
||||
xmb_draw_thumbnail(xmb, &coord_white[0], width, height);
|
||||
|
||||
/* Clock image */
|
||||
@ -2829,7 +2829,7 @@ static void xmb_context_reset(void *data)
|
||||
xmb_context_reset_background(iconpath);
|
||||
xmb_context_reset_horizontal_list(xmb, themepath);
|
||||
|
||||
if (strcmp(xmb_thumbnails_ident(), "OFF"))
|
||||
if (!string_is_equal(xmb_thumbnails_ident(), "OFF"))
|
||||
xmb_update_thumbnail_image(xmb);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user