diff options
Diffstat (limited to 'neols.c')
-rw-r--r-- | neols.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/neols.c b/neols.c index 06dc66e..a288fee 100644 --- a/neols.c +++ b/neols.c @@ -128,10 +128,10 @@ main(int argc, char **argv) path = line; stripquote(path + strlen("path") + PREFIX); } else if (line[8] == 's') { - if (strstr(line, "false") == 0) - is_directory = 1; - else + if (strstr(line, "false") != NULL) is_directory = 0; + else + is_directory = 1; free(line); } else if (line[8] == 'i') { line[len - 1] = '\0'; |