=================================================================== RCS file: /cvs/mandoc/term_tab.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- mandoc/term_tab.c 2017/05/07 17:31:45 1.1 +++ mandoc/term_tab.c 2017/06/08 12:54:58 1.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: term_tab.c,v 1.1 2017/05/07 17:31:45 schwarze Exp $ */ +/* $OpenBSD: term_tab.c,v 1.2 2017/06/08 12:54:58 schwarze Exp $ */ /* * Copyright (c) 2017 Ingo Schwarze * @@ -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. */