From: David Griffith Date: Sun, 1 Dec 2013 09:04:49 +0000 (-0800) Subject: Don't assume NULL == 0 X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=d571a0348ab4d3a7ed37407a3f663e9666c99ed8;p=liskon_frotz.git Don't assume NULL == 0 --- diff --git a/src/common/fastmem.c b/src/common/fastmem.c index 75ea483..4fd0570 100644 --- a/src/common/fastmem.c +++ b/src/common/fastmem.c @@ -449,7 +449,7 @@ static void free_undo (int count) void reset_memory (void) { - if (story_fp) + if (story_fp != NULL) fclose (story_fp); story_fp = NULL;