summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-07-16 00:51:31 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-07-16 00:51:31 +0000
commiteb1fcf549a7a165624189276fd30af01a42ec0cb (patch)
tree1b0db0782613563ecd2dc31e1a9e01c623e4e6e7
parent012a21654ee705f821e31f723e5c804dd414078f (diff)
downloadmana-eb1fcf549a7a165624189276fd30af01a42ec0cb.tar.gz
mana-eb1fcf549a7a165624189276fd30af01a42ec0cb.tar.bz2
mana-eb1fcf549a7a165624189276fd30af01a42ec0cb.tar.xz
mana-eb1fcf549a7a165624189276fd30af01a42ec0cb.zip
Oops forgot two slashes.
-rw-r--r--src/engine.cpp2
-rw-r--r--src/resources/buddylist.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 7181ac80..4e8c218f 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -159,7 +159,7 @@ Engine::Engine():
// Create dialogs
chatWindow = new ChatWindow(
- config.getValue("homeDir", "") + std::string("chatlog.txt"));
+ config.getValue("homeDir", "") + std::string("/chatlog.txt"));
statusWindow = new StatusWindow();
buyDialog = new BuyDialog();
sellDialog = new SellDialog();
diff --git a/src/resources/buddylist.cpp b/src/resources/buddylist.cpp
index a227ec71..0c9f6c8b 100644
--- a/src/resources/buddylist.cpp
+++ b/src/resources/buddylist.cpp
@@ -29,7 +29,7 @@
BuddyList::BuddyList()
{
// Find saved buddy list file
- filename = new std::string(std::string(config.getValue("homeDir", "") + "buddy.txt"));
+ filename = new std::string(std::string(config.getValue("homeDir", "") + "/buddy.txt"));
// Load buddy from file
loadFile();