diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/zxbox/zxmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/zxbox/zxmisc.c b/apps/plugins/zxbox/zxmisc.c index df147be..c4dbf88 100644 --- a/apps/plugins/zxbox/zxmisc.c +++ b/apps/plugins/zxbox/zxmisc.c @@ -79,7 +79,7 @@ int file_exist(const char *filename) int fd; fd = rb->open(filename, O_RDONLY); - if(fd != NULL) { + if(fd >= 0) { rb->close(fd); return 1; } |