From 1fac866d180ed6a6be5d69f836a762e9c23f3e00 Mon Sep 17 00:00:00 2001 From: dborth Date: Mon, 5 Oct 2009 01:30:19 +0000 Subject: [PATCH] fix pref path --- source/ngc/preferences.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ngc/preferences.cpp b/source/ngc/preferences.cpp index baf55df..8773c8c 100644 --- a/source/ngc/preferences.cpp +++ b/source/ngc/preferences.cpp @@ -563,7 +563,7 @@ SavePrefs (bool silent) } else if(appPath[0] != 0) { - sprintf(filepath, "%s%s", appPath, PREF_FILE_NAME); + sprintf(filepath, "%s/%s", appPath, PREF_FILE_NAME); FindDevice(filepath, &device); } else @@ -697,7 +697,7 @@ bool SavePalettes(bool silent) } else if(appPath[0] != 0) { - sprintf(filepath, "%s%s", appPath, PAL_FILE_NAME); + sprintf(filepath, "%s/%s", appPath, PAL_FILE_NAME); FindDevice(filepath, &device); } else