diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-08 12:54:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-08 12:54:58 +0000 |
commit | ad29d8dbe925e8f0d680007ebf3c95aec8351f84 (patch) | |
tree | e1d347a6e1580d73cf7fb7e978c1b9103e0acbac /term_tab.c | |
parent | d44fff44885ccb8313515cbafde42b061f7d4c45 (diff) | |
download | mandoc-ad29d8dbe925e8f0d680007ebf3c95aec8351f84.tar.gz |
make the internal a2roffsu() interface more powerful by returning
a pointer to the end of the parsed data, making it easier to
parse subsequent bytes
Diffstat (limited to 'term_tab.c')
-rw-r--r-- | term_tab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |