.dat -> .txt so that file associations will find a text editor
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
GameState* GAMESTATE = NULL; // global and accessable from anywhere in our program
|
||||
|
||||
#define NAME_BLACKLIST_FILE "/Data/NamesBlacklist.dat"
|
||||
#define NAME_BLACKLIST_FILE "/Data/NamesBlacklist.txt"
|
||||
|
||||
ThemeMetric<bool> USE_NAME_BLACKLIST("GameState","UseNameBlacklist");
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ const CString LANGUAGES_SUBDIR = "Languages/";
|
||||
const CString BASE_LANGUAGE = "english";
|
||||
const CString THEMES_DIR = "Themes/";
|
||||
const CString METRICS_FILE = "metrics.ini";
|
||||
const CString TYPE_DAT_FILE = "Data/Type.dat";
|
||||
const CString TYPE_TXT_FILE = "Data/Type.txt";
|
||||
|
||||
|
||||
struct Theme
|
||||
@@ -933,7 +933,7 @@ CString ThemeManager::GetPreferencesSection() const
|
||||
CString sSection = "Preferences";
|
||||
|
||||
// OK if this fails
|
||||
GetFileContents( TYPE_DAT_FILE, sSection, true );
|
||||
GetFileContents( TYPE_TXT_FILE, sSection, true );
|
||||
|
||||
// OK if this fails
|
||||
GetCommandlineArgument( "Type", &sSection );
|
||||
|
||||
Reference in New Issue
Block a user