Changeset 2685 for code/branches/buildsystem3/src/core/input
- Timestamp:
- Feb 20, 2009, 5:32:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/core/input/KeyBinder.cc
r2662 r2685 36 36 #include <fstream> 37 37 #include <string> 38 #include <boost/filesystem.hpp> 38 39 39 40 #include "util/Convert.h" … … 42 43 #include "core/CoreIncludes.h" 43 44 #include "core/ConfigFileManager.h" 45 #include "core/Core.h" 44 46 #include "InputCommands.h" 45 47 #include "InputManager.h" … … 253 255 return; 254 256 257 boost::filesystem::path folder(Core::getConfigPath()); 258 boost::filesystem::path filepath(folder/filename); 259 255 260 // get bindings from default file if filename doesn't exist. 256 261 std::ifstream infile; 257 infile.open(file name.c_str());262 infile.open(filepath.native_file_string().c_str()); 258 263 if (!infile) 259 264 {
Note: See TracChangeset
for help on using the changeset viewer.