aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tbl/ti.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/tbl/ti.c')
-rw-r--r--src/cmd/tbl/ti.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/cmd/tbl/ti.c b/src/cmd/tbl/ti.c
index ef995bbb..d4a2ab4d 100644
--- a/src/cmd/tbl/ti.c
+++ b/src/cmd/tbl/ti.c
@@ -9,9 +9,9 @@ interv(int i, int c)
if (c >= ncol || c == 0) {
if (dboxflg) {
- if (i == 0)
+ if (i == 0)
return(BOT);
- if (i >= nlin)
+ if (i >= nlin)
return(TOP);
return(THRU);
}
@@ -23,11 +23,11 @@ interv(int i, int c)
kl = 0;
else
kl = lefdata(allh(i) ? i + 1 : i, c);
- if (ku == 2 && kl == 2)
+ if (ku == 2 && kl == 2)
return(THRU);
- if (ku == 2)
+ if (ku == 2)
return(TOP);
- if (kl == BOT)
+ if (kl == BOT)
return(2);
return(0);
}
@@ -45,7 +45,7 @@ interh(int i, int c)
return(RIGHT);
return(THRU);
}
- if (i >= nlin)
+ if (i >= nlin)
return(0);
kl = c > 0 ? thish (i, c - 1) : 0;
if (kl <= 1 && i > 0 && allh(up1(i)))
@@ -53,11 +53,11 @@ interh(int i, int c)
kr = thish(i, c);
if (kr <= 1 && i > 0 && allh(up1(i)))
kr = c > 0 ? thish(up1(i), c) : 0;
- if (kl == '=' && kr == '=')
+ if (kl == '=' && kr == '=')
return(THRU);
- if (kl == '=')
+ if (kl == '=')
return(LEFT);
- if (kr == '=')
+ if (kr == '=')
return(RIGHT);
return(0);
}
@@ -67,9 +67,7 @@ int
up1(int i)
{
i--;
- while (instead[i] && i > 0)
+ while (instead[i] && i > 0)
i--;
return(i);
}
-
-