]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Quell a (correct) GCC warning in the NO_HTMLHELP case.
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 17 Sep 2012 22:28:07 +0000 (22:28 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 17 Sep 2012 22:28:07 +0000 (22:28 +0000)
[originally from svn r9666]

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 */