diff options
author | tjr <tjr@FreeBSD.org> | 2002-06-19 01:45:03 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-06-19 01:45:03 +0000 |
commit | eb084e4397ca61b13a4422ab1842e66012fdda83 (patch) | |
tree | 3ae27968163f28738711b023c5a7cbd04b4df97c /usr.bin/pr | |
parent | 4a91ef45115c512a4f045716754133a0ff842672 (diff) | |
download | FreeBSD-src-eb084e4397ca61b13a4422ab1842e66012fdda83.zip FreeBSD-src-eb084e4397ca61b13a4422ab1842e66012fdda83.tar.gz |
Don't convert a single space before a tab stop into a tab when the
-i option is used.
Diffstat (limited to 'usr.bin/pr')
-rw-r--r-- | usr.bin/pr/pr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c index 754c7db..600d70e 100644 --- a/usr.bin/pr/pr.c +++ b/usr.bin/pr/pr.c @@ -1151,7 +1151,7 @@ otln(buf, cnt, svips, svops, mor) /* * got a non space char; contract out spaces */ - while (ops < ips) { + while (ips - ops > 1) { /* * use as many ochar as will fit */ @@ -1196,7 +1196,7 @@ otln(buf, cnt, svips, svops, mor) } if (mor < 0) { - while (ops < ips) { + while (ips - ops > 1) { /* * use as many ochar as will fit */ |