Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdeb0fe
)
Don't assume NULL == 0
author
David Griffith
<dave@661.org>
Sun, 1 Dec 2013 09:04:49 +0000
(
01:04
-0800)
committer
David Griffith
<dave@661.org>
Sun, 1 Dec 2013 09:04:49 +0000
(
01:04
-0800)
src/common/fastmem.c
patch
|
blob
|
history
diff --git
a/src/common/fastmem.c
b/src/common/fastmem.c
index 75ea483fb8cb46f9fbe97b11ddc5fff7d737e962..4fd0570252daaaf8cda8e28f21873193c1d01b5d 100644
(file)
--- 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;