summaryrefslogtreecommitdiff
path: root/src/gui/recorder.cpp
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2010-02-25 21:56:31 +0100
committerBernd Wachter <bwachter-tmw@lart.info>2010-02-25 21:59:21 +0100
commitdf86b2f74a1f42f1dcfa9f0c6c4a75b24fdf81de (patch)
treeefdeda5e82e7b748f599a898bb0386caf9745367 /src/gui/recorder.cpp
parent56e3e3a0571719f12112106b835f2836785fec4d (diff)
downloadmana-df86b2f74a1f42f1dcfa9f0c6c4a75b24fdf81de.tar.gz
mana-df86b2f74a1f42f1dcfa9f0c6c4a75b24fdf81de.tar.bz2
mana-df86b2f74a1f42f1dcfa9f0c6c4a75b24fdf81de.tar.xz
mana-df86b2f74a1f42f1dcfa9f0c6c4a75b24fdf81de.zip
Add support for platform specifig config/data directories #84
Reviewed-by: Jared Adams
Diffstat (limited to 'src/gui/recorder.cpp')
-rw-r--r--src/gui/recorder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/recorder.cpp b/src/gui/recorder.cpp
index 7cb6e055..257afd7f 100644
--- a/src/gui/recorder.cpp
+++ b/src/gui/recorder.cpp
@@ -102,7 +102,7 @@ void Recorder::setRecordingFile(const std::string &msg)
* recorded.
*/
localChatTab->chatLog(_("Starting to record..."), BY_SERVER);
- const std::string file = Client::getHomeDirectory() + msgCopy;
+ const std::string file = Client::getLocalDataDirectory() + "/" + msgCopy;
mStream.open(file.c_str(), std::ios_base::trunc);