discord: fixed the corename comparison statement

This commit is contained in:
Jesse Bryan 2018-08-20 14:14:35 -05:00
parent bb451d59e8
commit f507905345

View File

@ -161,7 +161,7 @@ void discord_update(enum discord_presence presence)
const char *item = string_replace_substring(
string_replace_substring(string_to_lower(missing_core_icons[i]), " ", "_"), "/", "_");
if (strcmp(item, core_name))
if (strcmp(item, core_name) == 0)
{
discord_presence.largeImageKey = "core";
break;