Quell a (correct) GCC warning in the NO_HTMLHELP case.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 17 Sep 2012 22:28:07 +0000 (22:28 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 17 Sep 2012 22:28:07 +0000 (22:28 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@9666 cda61777-01e9-0310-a592-d414129be87e

windows/winhelp.c

index a8d63a5..8b652c7 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 */