summaryrefslogtreecommitdiff
path: root/tbl/t5.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl/t5.c')
-rw-r--r--tbl/t5.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tbl/t5.c b/tbl/t5.c
index ab44521d5dde..597061d6d96d 100644
--- a/tbl/t5.c
+++ b/tbl/t5.c
@@ -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)
{