diff --git a/libretro-common/include/string/stdstring.h b/libretro-common/include/string/stdstring.h index 3cf5e7c298..af07b01121 100644 --- a/libretro-common/include/string/stdstring.h +++ b/libretro-common/include/string/stdstring.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2010-2018 The RetroArch team +/* Copyright (C) 2010-2019 The RetroArch team * * --------------------------------------------------------------------------------------- * The following license statement only applies to this file (stdstring.h). @@ -44,7 +44,7 @@ static INLINE bool string_is_equal(const char *a, const char *b) { if (!a || !b) return false; - return strcmp(a, b) == 0; + return !strcmp(a, b); } static INLINE bool string_is_not_equal(const char *a, const char *b)