From 089cb5f96e400d4ab7c9d8041cb51eb8f118d9c1 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 1 Aug 2008 19:57:03 +0000 Subject: initial make install support --- src/client/console.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/console.cc') 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); -- cgit v1.2.3