summaryrefslogtreecommitdiff
path: root/src/gui/windows/helpwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r--src/gui/windows/helpwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index 769082516..d0aa30b42 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -149,7 +149,7 @@ void HelpWindow::loadFile(std::string file)
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)