diff options
-rw-r--r-- | lib/util.c | 2 | ||||
-rw-r--r-- | src/man.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -63,7 +63,7 @@ * a is man_page, b is cat_page * * a and b have different times returns 1/3 (ret & 1) == 1 - * a and b have same times returns 0/2 !(ret & 1) == 1 + * a and b have same times returns 0/2 (!(ret & 1)) == 1 * a is zero in length returns + 2 (for Wilf. and his stray cats) * b is zero in length returns + 4 * stat on a fails returns -1 @@ -2529,7 +2529,7 @@ static char *find_cat_file (const char *path, const char *original, cat_file = convert_name (original, 1); if (cat_file) { status = is_changed (original, cat_file); - if (status != -2 && !(status & 1) == 1) { + if (status != -2 && (!(status & 1)) == 1) { debug ("found valid FSSTND cat file %s\n", cat_file); return cat_file; } |