summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'man.c')
-rw-r--r--man.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/man.c b/man.c
index 1a8e2b94..345e0789 100644
--- a/man.c
+++ b/man.c
@@ -454,8 +454,8 @@ man_pmacro(struct man *m, int ln, char *buf)
fl = m->flags;
- if (0 == buf[1])
- goto out;
+ if ('\0' == buf[1])
+ return(1);
i = 1;
@@ -484,7 +484,7 @@ man_pmacro(struct man *m, int ln, char *buf)
return(man_perr(m, ln, i, WNPRINT));
}
- mac[j] = 0;
+ mac[j] = '\0';
if (j == 4 || j < 1) {
if ( ! (MAN_IGN_MACRO & m->pflags)) {