Tux Paint configuration settings for Mac OS X are read from "~/Library/Application Support/TuxPaint/tuxpaint.cfg"

This commit is contained in:
Martin Fuhrer 2007-06-16 03:45:36 +00:00
parent e38693215a
commit 3f4e377542

View file

@ -6289,9 +6289,9 @@ static void setup(int argc, char *argv[])
strcpy(str, "tuxpaint.cfg"); strcpy(str, "tuxpaint.cfg");
//#elif __APPLE__ #elif defined(__APPLE__)
/* Mac: ??? */ /* Mac OS X: Use a "tuxpaint.cfg" file in the Tux Paint application support folder */
/* FIXME! */ snprintf(str, sizeof(str), "%s/TuxPaint/tuxpaint.cfg", macosx.preferencesPath);
#else #else
/* Linux and other Unixes: Use 'rc' style (~/.tuxpaintrc) */ /* Linux and other Unixes: Use 'rc' style (~/.tuxpaintrc) */