]> diplodocus.org Git - nmh/blobdiff - uip/annosbr.c
datetime.c: Replace some int with bool.
[nmh] / uip / annosbr.c
index 124c77e7e979eaca6d0b7e744f004b94dd2a1c98..7e7cefd0b6fb8bdbafa26d3a8c7fd7a4f568765f 100644 (file)
@@ -140,7 +140,7 @@ annolist(char *file, char *comp, char *text, int number)
            if (number)
                (void)printf("%d\t", ++count);
 
-           if (text == NULL && (sp = strrchr(cp, '/')) != (char *)0)
+           if (text == NULL && (sp = strrchr(cp, '/')))
                cp = sp + 1;
 
             puts(cp);