projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20041026-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
misc.c
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index 225d385cf3323002b1c1257e87aa966efcb7e9c6..aa5cbb1e0d058f8ec6f5d0e45b87d13a352e8b4f 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-1504,6
+1504,9
@@
void dumpList(ListNode *node_first)
boolean fileExists(char *filename)
{
+ if (filename == NULL)
+ return FALSE;
+
#if 0
printf("checking file '%s'\n", filename);
#endif