X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..f8a3e080aaf03010044191b373d27c2e17cbd7d9:/src/msw/helpwin.cpp diff --git a/src/msw/helpwin.cpp b/src/msw/helpwin.cpp index e761c09d45..068165f21e 100644 --- a/src/msw/helpwin.cpp +++ b/src/msw/helpwin.cpp @@ -96,7 +96,7 @@ bool wxWinHelpController::DisplaySection(int section) bool wxWinHelpController::DisplayBlock(long block) { // Use context number -- a very rough equivalent to block id! - if (!m_helpFile) return FALSE; + if (m_helpFile == "") return FALSE; char buf[_MAXPATHLEN]; strcpy(buf, m_helpFile);