~sebsite/generic-tetromino-game

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Fix compilation on macOS

Details
Message ID
<20230217130926.3381-1-umar@handlerug.me>
DKIM signature
pass
Download raw message
Patch: +2 -2
---
 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)
Details
Message ID
<CQL5USBD7SMS.32Y4Z94V649OA@notmylaptop>
In-Reply-To
<20230217130926.3381-1-umar@handlerug.me> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To gitsrht:~sebsite/generic-tetromino-game
   13fc186..b09c72b  main -> main
Reply to thread Export thread (mbox)