From df90da0b3750b654c1ec660f83e461aae03a3b6b Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 2 Jul 2023 10:50:40 +0200 Subject: [PATCH] Update rcore.c --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index d02ea2b9..bba8f5ef 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -3219,7 +3219,7 @@ const char *GetApplicationDirectory(void) #if defined(_WIN32) int len = 0; -#if defined (UNICODE) +#if defined(UNICODE) unsigned short widePath[MAX_PATH]; len = GetModuleFileNameW(NULL, widePath, MAX_PATH); len = WideCharToMultiByte(0, 0, widePath, len, appDir, MAX_PATH, NULL, NULL);