]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winhelp.c
Fix another error-reporting bug, in which sk_newlistener would fail to
[PuTTY.git] / windows / winhelp.c
index a8d63a50a53a5bd669a4bb8d4559e8b1b7e69f16..8b652c7b15eb49c9f80fd20f34857fe2b7b9310d 100644 (file)
@@ -81,7 +81,7 @@ int has_help(void)
      * unrealistic, since even Vista will have it if the user
      * specifically downloads it.
      */
-    return (help_path
+    return (help_path != NULL
 #ifndef NO_HTMLHELP
            || chm_path
 #endif /* NO_HTMLHELP */