Update HelpPages.cpp

Fix issue
This commit is contained in:
Andy Vandijck 2024-02-24 15:22:33 +01:00 committed by GitHub
parent c9b5dc631a
commit 61909e5535
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void consoleWin_t::OpenHelpWindow(std::string subpage)
#if defined(WIN32)
// Windows specific HtmlHelp library function
#if defined(_UNICODE) || defined(UNICODE)
helpWin = HtmlHelp(HWND(winId()), helpFileName.wc_str(), HH_DISPLAY_TOPIC, (DWORD)NULL);
helpWin = HtmlHelp(HWND(winId()), helpFileName.wstring(), HH_DISPLAY_TOPIC, (DWORD)NULL);
#else
helpWin = HtmlHelp(HWND(winId()), helpFileName.c_str(), HH_DISPLAY_TOPIC, (DWORD)NULL);
#endif