Don't convert a single space before a tab stop into a tab when the

-i option is used.
This commit is contained in:
Tim J. Robbins 2002-06-19 01:45:03 +00:00
parent 4471d80f69
commit 06b959916f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98408

View file

@ -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
*/