summaryrefslogtreecommitdiff
path: root/lib/help_provider.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:07 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:07 +0200
commit88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170 (patch)
treec6c5babb49b90293380106b81ae5c446959ac70f /lib/help_provider.h
parent5.3 (diff)
downloadFreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.gz
FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.bz2
FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.zip
5.4
Diffstat (limited to 'lib/help_provider.h')
-rw-r--r--lib/help_provider.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/help_provider.h b/lib/help_provider.h
index 213c05e3..3b7443cb 100644
--- a/lib/help_provider.h
+++ b/lib/help_provider.h
@@ -9,10 +9,11 @@
#include <wx/help.h>
#include "ffs_paths.h"
+#include <zen/zstring.h>
namespace zen
{
-void displayHelpEntry(const wxString& section = wxEmptyString);
+void displayHelpEntry(const wxString& section = wxEmptyString); //use '/' as path separator!
@@ -52,7 +53,7 @@ void displayHelpEntry(const wxString& section)
if (section.empty())
getHelpCtrl().DisplayContents();
else
- getHelpCtrl().DisplaySection(section);
+ getHelpCtrl().DisplaySection(replaceCpy(section, L'/', utfCvrtTo<std::wstring>(FILE_NAME_SEPARATOR)));
}
}
bgstack15