Changeset 1795 for code/trunk/src/core/input
- Timestamp:
- Sep 17, 2008, 11:49:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/input/KeyBinder.cc
r1755 r1795 39 39 #include "core/ConfigValueIncludes.h" 40 40 #include "core/CoreIncludes.h" 41 #include "core/ConfigFileManager.h" 41 42 #include "InputCommands.h" 42 43 … … 222 223 if (!infile) 223 224 { 224 ConfigFileManager::getInstance() ->setFile(CFT_Keybindings, "def_keybindings.ini");225 ConfigFileManager::getInstance() ->save(CFT_Keybindings, "keybindings.ini");225 ConfigFileManager::getInstance().setFile(CFT_Keybindings, "def_keybindings.ini"); 226 ConfigFileManager::getInstance().save(CFT_Keybindings, "keybindings.ini"); 226 227 } 227 228 else 228 229 infile.close(); 229 ConfigFileManager::getInstance() ->setFile(CFT_Keybindings, "keybindings.ini");230 ConfigFileManager::getInstance().setFile(CFT_Keybindings, "keybindings.ini"); 230 231 231 232 // parse key bindings
Note: See TracChangeset
for help on using the changeset viewer.