mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
(menu_list) Use string_is_equal
This commit is contained in:
parent
56d41b8e16
commit
cea2ac6766
@ -15,6 +15,8 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "menu_list.h"
|
||||
|
||||
#include "../menu_driver.h"
|
||||
@ -133,7 +135,7 @@ size_t menu_list_get_stack_size(menu_list_t *list, size_t idx)
|
||||
static int menu_list_flush_stack_type(const char *needle, const char *label,
|
||||
unsigned type, unsigned final_type)
|
||||
{
|
||||
return needle ? strcmp(needle, label) : (type != final_type);
|
||||
return needle ? !string_is_equal(needle, label) : (type != final_type);
|
||||
}
|
||||
|
||||
void menu_list_flush_stack(menu_list_t *list,
|
||||
|
Loading…
x
Reference in New Issue
Block a user