mirror of
https://github.com/libretro/RetroArch
synced 2025-02-14 15:39:59 +00:00
Convert strcmp to string_is_equal
This commit is contained in:
parent
ec5d046f4c
commit
7bd705983e
@ -16,6 +16,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <libretro.h>
|
||||
#include <string/stdstring.h>
|
||||
#include <lists/string_list.h>
|
||||
|
||||
#include "../midi_driver.h"
|
||||
@ -51,14 +52,14 @@ static bool null_midi_set_input(void *p, const char *input)
|
||||
{
|
||||
(void)p;
|
||||
|
||||
return input == NULL || !strcmp(input, "Null");
|
||||
return input == NULL || string_is_equal(input, "Null");
|
||||
}
|
||||
|
||||
static bool null_midi_set_output(void *p, const char *output)
|
||||
{
|
||||
(void)p;
|
||||
|
||||
return output == NULL || !strcmp(output, "Null");
|
||||
return output == NULL || string_is_equal(output, "Null");
|
||||
}
|
||||
|
||||
static bool null_midi_read(void *p, midi_event_t *event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user