diff options
-rw-r--r-- | mandocdb.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1417,13 +1417,12 @@ ofile_argbuild(int argc, char *argv[], struct of **of) *p = '\0'; continue; } - if (strncmp("man", p + 1, 3)) { + if (0 == strncmp("man", p + 1, 3)) src_form |= MANDOC_SRC; - arch = p + 1; - } else if (strncmp("cat", p + 1, 3)) { + else if (0 == strncmp("cat", p + 1, 3)) src_form |= MANDOC_FORM; + else arch = p + 1; - } break; } if (NULL == title) |