mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
If strequal checks for NULL, then striequal should too.
This commit is contained in:
parent
79edafc3aa
commit
c48dee0d7b
@ -38,6 +38,8 @@ bool string_is_equal(const char *a, const char *b)
|
||||
|
||||
bool string_is_equal_noncase(const char *a, const char *b)
|
||||
{
|
||||
if (!a || !b)
|
||||
return false;
|
||||
return (strcasecmp(a, b) == 0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user