---
main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
index efab7f3..bb53480 100644
--- a/main.c
+++ b/main.c
@@ -2560,7 +2560,7 @@ cfghome(void)
if (home == NULL)
return NULL;
n = snprintf(buf, PATH_MAX,
- "%s/Library/Preferences/generic-tetromino-game" home);
+ "%s/Library/Preferences/generic-tetromino-game", home);
#else
const char *dir = getenv("XDG_CONFIG_HOME");
if (dir != NULL) {
@@ -2594,7 +2594,7 @@ datahome(void)
#elif defined(__APPLE__) && defined(__MACH__)
const char *home = getenv("HOME");
if (home == NULL)
- return;
+ return NULL;
n = snprintf(buf, PATH_MAX,
"%s/Library/Application Support/generic-tetromino-game", home);
#else
--
2.37.1 (Apple Git-137.1)