]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpchm.cpp
Remove now unneeded header.
[wxWidgets.git] / src / msw / helpchm.cpp
index 2871a9f78265dbdcdf7d598f4d6d64c7c7e3fe13..cf90de12e9d5d94d44e3e58690e60cb25ca8dc91 100644 (file)
@@ -80,9 +80,8 @@ static void UnloadHtmlHelpLibrary()
 {
     if ( gs_htmlHelp )
     {
-        wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") );
-
-        gs_htmlHelp = 0;
+        if (wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") ))
+            gs_htmlHelp = 0;
     }
 }