summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();