Skip to content

Commit

Permalink
Changed ifstream to ofstream in saveOptions (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroyee committed Sep 9, 2017
1 parent 1ad881e commit 14c7ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/optionSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void optionSet::saveOptions() {
ofstream file(appdataFolder + "options.cfg");
#elif __APPLE__
mkdir(applicationSupportFolder().c_str(), 0755);
ifstream file (applicationSupportFolder() + "options.cfg");
ofstream file (applicationSupportFolder() + "options.cfg");
#else
ofstream file("options.cfg");
#endif
Expand Down

0 comments on commit 14c7ccb

Please sign in to comment.