From c8b9b4ef2586c6669d4ef872bb9fc5055060beae Mon Sep 17 00:00:00 2001 From: bparker06 Date: Wed, 3 Apr 2019 12:06:31 -0400 Subject: [PATCH] Update stdstring.h --- libretro-common/include/string/stdstring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)