summaryrefslogtreecommitdiff
path: root/src/gui/windows/didyouknowwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/didyouknowwindow.cpp')
-rw-r--r--src/gui/windows/didyouknowwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/didyouknowwindow.cpp b/src/gui/windows/didyouknowwindow.cpp
index 43251f2dd..f5a01b42d 100644
--- a/src/gui/windows/didyouknowwindow.cpp
+++ b/src/gui/windows/didyouknowwindow.cpp
@@ -171,7 +171,7 @@ void DidYouKnowWindow::loadFile(const int num)
helpPath = paths.getStringValue("help");
StringVect lines;
- TranslationManager::translateFile(helpPath.append(file).append(".txt"),
+ TranslationManager::translateFile(pathJoin(helpPath, file).append(".txt"),
translator, lines);
for (size_t i = 0, sz = lines.size(); i < sz; ++i)