fix pref path

This commit is contained in:
dborth 2009-10-05 01:30:19 +00:00
parent 941047bb18
commit 1fac866d18

View File

@ -563,7 +563,7 @@ SavePrefs (bool silent)
} }
else if(appPath[0] != 0) else if(appPath[0] != 0)
{ {
sprintf(filepath, "%s%s", appPath, PREF_FILE_NAME); sprintf(filepath, "%s/%s", appPath, PREF_FILE_NAME);
FindDevice(filepath, &device); FindDevice(filepath, &device);
} }
else else
@ -697,7 +697,7 @@ bool SavePalettes(bool silent)
} }
else if(appPath[0] != 0) else if(appPath[0] != 0)
{ {
sprintf(filepath, "%s%s", appPath, PAL_FILE_NAME); sprintf(filepath, "%s/%s", appPath, PAL_FILE_NAME);
FindDevice(filepath, &device); FindDevice(filepath, &device);
} }
else else