diff --git a/Src/main.cpp b/Src/main.cpp index 88f549d..0a9121c 100644 --- a/Src/main.cpp +++ b/Src/main.cpp @@ -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");