From 3f4e377542289af647c856a02b60234669f2df2d Mon Sep 17 00:00:00 2001 From: Martin Fuhrer Date: Sat, 16 Jun 2007 03:45:36 +0000 Subject: [PATCH] Tux Paint configuration settings for Mac OS X are read from "~/Library/Application Support/TuxPaint/tuxpaint.cfg" --- src/tuxpaint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index b92d914de..162ddb795 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -6289,9 +6289,9 @@ static void setup(int argc, char *argv[]) strcpy(str, "tuxpaint.cfg"); - //#elif __APPLE__ - /* Mac: ??? */ - /* FIXME! */ +#elif defined(__APPLE__) + /* Mac OS X: Use a "tuxpaint.cfg" file in the Tux Paint application support folder */ + snprintf(str, sizeof(str), "%s/TuxPaint/tuxpaint.cfg", macosx.preferencesPath); #else /* Linux and other Unixes: Use 'rc' style (~/.tuxpaintrc) */