summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-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)
243{ 243{
244 int btn; 244 int btn;
245 245
246 rb->mkdir ("/sgf"); 246 rb->mkdir (DEFAULT_SAVE_DIR);
247 247
248 global_setup (); 248 global_setup ();
249 249
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 @@
319 319
320 320
321/* The directory we default to for saving crap */ 321/* The directory we default to for saving crap */
322#define DEFAULT_SAVE_DIR "/sgf" 322#define DEFAULT_SAVE_DIR PLUGIN_GAMES_DIR "/goban"
323 323
324/* The default file we save to */ 324/* The default file we save to */
325#define DEFAULT_SAVE (DEFAULT_SAVE_DIR "/gbn_def.sgf") 325#define DEFAULT_SAVE (DEFAULT_SAVE_DIR "/goban_d.save")
326 326
327/* The size of the buffer we store filenames in (1 reserved for '\0') */ 327/* The size of the buffer we store filenames in (1 reserved for '\0') */
328#define SAVE_FILE_LENGTH 256 328#define SAVE_FILE_LENGTH 256