remove explicit dereference

This commit is contained in:
Jan200101 2020-06-09 19:02:00 +02:00
parent 233c2d8f72
commit 80e674cc21
No known key found for this signature in database
GPG Key ID: 5B71B1D78B882E05
1 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ void InitializeDiscord()
memset(&handlers, 0, sizeof(handlers)); memset(&handlers, 0, sizeof(handlers));
handlers.ready = OnReady; handlers.ready = OnReady;
(*Discord_Initialize)(DISCORD_APP_ID, &handlers, false, ""); Discord_Initialize(DISCORD_APP_ID, &handlers, false, "");
initd = true; initd = true;
} }
@ -296,8 +296,8 @@ void discordShutdown()
{ {
if (handle) if (handle)
{ {
(*Discord_ClearPresence)(); Discord_ClearPresence();
(*Discord_Shutdown)(); Discord_Shutdown();
dlclose(handle); dlclose(handle);
} }