Skip to content

Commit

Permalink
Fix: Use default user Documents dir to store settings on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
logzero committed Feb 21, 2012
1 parent f57e44a commit c9ac6fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pathmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ void PATHMANAGER::Init(std::ostream & info_output, std::ostream & error_output)
// Find settings file.
settings_path = home_directory;
#ifdef _WIN32
MakeDir(settings_path+"\\My Documents");
MakeDir(settings_path+"\\My Documents\\My Games");
settings_path += "\\My Documents\\My Games\\VDrift";
settings_path += "\\Documents\\VDrift";
MakeDir(settings_path);
#else
settings_path += "/";
Expand Down

0 comments on commit c9ac6fc

Please sign in to comment.