diff --git a/desktop_version/src/DiscordNetwork.c b/desktop_version/src/DiscordNetwork.c index 73d3d944..a9ada784 100644 --- a/desktop_version/src/DiscordNetwork.c +++ b/desktop_version/src/DiscordNetwork.c @@ -89,7 +89,7 @@ int32_t DISCORD_init(void) return 0; #endif libHandle = SDL_LoadObject(DISCORD_LIBRARY); - if (!libHandle) + if (libHandle == NULL) { vlog_info(DISCORD_LIBRARY " not found!"); vlog_debug("Can't load object %s : %s\n", DISCORD_LIBRARY, SDL_GetError());