--- ircii-2.8.2/ircii-2.8.2/source/help.c.ewt	Mon Nov  3 16:56:51 1997
+++ ircii-2.8.2/ircii-2.8.2/source/help.c	Mon Nov  3 16:59:07 1997
@@ -202,7 +202,8 @@
 		}
 		else
 		{
-			fclose(help_fp);
+			if (help_fp) fclose(help_fp);
+			help_fp = NULL;
 			return (0);
 		}
 	}
@@ -236,7 +237,8 @@
 	if (line && ((*line == 'q') || (*line == 'Q')))
 	{
 		finished_help_paging = 1;
-		fclose(help_fp);
+		if (help_fp) fclose(help_fp);
+		help_fp = NULL;
 		set_help_screen((Screen *) 0);
 		return;
 	}
@@ -250,7 +252,8 @@
 	else
 	{
 		finished_help_paging = 1;
-		fclose(help_fp);
+		if (help_fp) fclose(help_fp);
+		help_fp = NULL;
 		if (help_show_directory)
 		{
 			if (get_int_var(HELP_PAGER_VAR))

