Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/console.cc')
-rw-r--r--src/client/console.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/console.cc b/src/client/console.cc
index ddcaa32..60e2a7f 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -190,7 +190,7 @@ void Console::save_history()
if (history.size() <= 1)
return;
- std::string filename(filesystem::writedir);
+ std::string filename(filesystem::writedir());
filename.append("history.txt");
std::ofstream ofs(filename.c_str());
@@ -211,7 +211,7 @@ void Console::save_history()
void Console::load_history()
{
- std::string filename(filesystem::writedir);
+ std::string filename(filesystem::writedir());
filename.append("history.txt");
std::ifstream ifs(filename.c_str(), std::ifstream::in);