From bef03b68ea3cf4d322495ea3bff7cedc24c59ea5 Mon Sep 17 00:00:00 2001 From: Buggem's Fedora PC <66670928+Buggem@users.noreply.github.com> Date: Sat, 21 Dec 2024 14:14:50 +1100 Subject: [PATCH] consistancy --- desktop_version/src/DiscordNetwork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());