aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term_tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'term_tab.c')
-rw-r--r--term_tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term_tab.c b/term_tab.c
index 3e6fa5c1..88c47c18 100644
--- a/term_tab.c
+++ b/term_tab.c
@@ -68,7 +68,7 @@ term_tab_set(const struct termp *p, const char *arg)
arg++;
} else
add = 0;
- if (a2roffsu(arg, &su, SCALE_EM) == 0)
+ if (a2roffsu(arg, &su, SCALE_EM) == NULL)
return;
/* Select the list, and extend it if it is full. */