diff options
Diffstat (limited to 'tbl/t5.c')
-rw-r--r-- | tbl/t5.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -26,6 +26,7 @@ # include <string.h> # include "t..c" # include <inttypes.h> +# include <global.h> static int morelines(int); @@ -93,7 +94,7 @@ gettbl(void) table[nlin][icol].col = cstore; table[nlin][icol].rcol=0; ch=1; - if (match(cstore, "T{")) { /* text follows */ + if (strcmp(cstore, "T{") == 0) { /* text follows */ /* get_text was originally gettext and was renamed */ if ((table[nlin][icol].col = get_text(cstore, nlin, icol, @@ -214,13 +215,15 @@ vspand(int ir, int ij, int ifform) if (fullbot[ir]) return(0); return(vspen(table[ir][ij].col)); } -int + +int vspen(char *s) { if (s==0) return(0); if (!point((intptr_t)s)) return(0); - return(match(s, SPAN)); + return(strcmp(s, SPAN) == 0); } + static int morelines(int n) { |