From a6013ff181c2fd11bd9a45b289a75de3776d7286 Mon Sep 17 00:00:00 2001 From: extrowerk <5569059+extrowerk@users.noreply.github.com> Date: Mon, 11 May 2020 13:49:18 +0200 Subject: [PATCH] Build fix --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index d6ea583..fe5d626 100644 --- a/src/main.c +++ b/src/main.c @@ -41,7 +41,7 @@ static void get_exe_dir(char *buf, int sz) { unsigned size = sz; _NSGetExecutablePath(buf, &size); #else - strcpy(buf, ".") + strcpy(buf, "."); #endif for (int i = strlen(buf) - 1; i > 0; i--) {