Use total name as prefs

This commit is contained in:
simon.kagstrom 2010-02-14 09:40:42 +00:00
parent a72ade683b
commit d7c318af18

View File

@ -227,7 +227,7 @@ void Frodo::LoadFrodorc()
if (total_name)
{
ThePrefs.Load(total_name);
strncpy(ThePrefs.PrefsPath, prefs_path, sizeof(ThePrefs.PrefsPath));
strncpy(ThePrefs.PrefsPath, total_name, sizeof(ThePrefs.PrefsPath));
} else
warning("Cannot find frodorc or frodorc.default in any tried directory");