From d7c318af18e5ecc68d45c9c5a30a34f09eaa9ab6 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 14 Feb 2010 09:40:42 +0000 Subject: [PATCH] Use total name as prefs --- Src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");