summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/goban/goban.c2
-rw-r--r--apps/plugins/goban/goban.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/goban/goban.c b/apps/plugins/goban/goban.c
index 04b74b7f59..65a03f6953 100644
--- a/apps/plugins/goban/goban.c
+++ b/apps/plugins/goban/goban.c
@@ -243,7 +243,7 @@ plugin_start (const void *parameter)
{
int btn;
- rb->mkdir ("/sgf");
+ rb->mkdir (DEFAULT_SAVE_DIR);
global_setup ();
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h
index 54ec968f0b..4cb8111546 100644
--- a/apps/plugins/goban/goban.h
+++ b/apps/plugins/goban/goban.h
@@ -319,10 +319,10 @@
/* The directory we default to for saving crap */
-#define DEFAULT_SAVE_DIR "/sgf"
+#define DEFAULT_SAVE_DIR PLUGIN_GAMES_DIR "/goban"
/* The default file we save to */
-#define DEFAULT_SAVE (DEFAULT_SAVE_DIR "/gbn_def.sgf")
+#define DEFAULT_SAVE (DEFAULT_SAVE_DIR "/goban_d.save")
/* The size of the buffer we store filenames in (1 reserved for '\0') */
#define SAVE_FILE_LENGTH 256