summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-07-16 00:30:14 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-07-16 00:30:14 +0000
commitc6b206ab5601108dbc917f78077612d6d935c7be (patch)
tree7a0bb3e818960e0fd4da92b105eee03a5cd96ee3 /src/resources
parent3839ff35294ec2fba40603595f09fd98cb9f2709 (diff)
downloadmana-c6b206ab5601108dbc917f78077612d6d935c7be.tar.gz
mana-c6b206ab5601108dbc917f78077612d6d935c7be.tar.bz2
mana-c6b206ab5601108dbc917f78077612d6d935c7be.tar.xz
mana-c6b206ab5601108dbc917f78077612d6d935c7be.zip
Now we don't use the char *homeDir anymore.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/buddylist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/buddylist.cpp b/src/resources/buddylist.cpp
index 9f11b5f7..a227ec71 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(homeDir) + "buddy.txt");
+ filename = new std::string(std::string(config.getValue("homeDir", "") + "buddy.txt"));
// Load buddy from file
loadFile();