From b5a2fc12bf95075ec4470c5918d8c10d55d26e53 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 11 Sep 2010 06:43:04 +0000 Subject: [PATCH] Save userdata to ~/tuxpaint on BeOS and/or Haiku. --- src/tuxpaint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index f912564b9..cdf726737 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -21175,8 +21175,8 @@ static void setup_config(char *argv[]) { #ifdef _WIN32 savedir = GetDefaultSaveDir("TuxPaint"); -#elif __BEOS__ - savedir = strdup("./userdata"); +#elif defined __BEOS__ || defined __HAIKU__ + savedir = strdup("./tuxpaint"); #elif __APPLE__ savedir = strdup(macosx.preferencesPath); #else