projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release 3.4, June 24, 1980
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_voper.c
diff --git
a/usr/src/usr.bin/ex/ex_voper.c
b/usr/src/usr.bin/ex/ex_voper.c
index
42812bf
..
63bf53c
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_voper.c
+++ b/
usr/src/usr.bin/ex/ex_voper.c
@@
-106,11
+106,13
@@
operate(c, cnt)
*/
case 'r':
vrep(cnt);
*/
case 'r':
vrep(cnt);
+ vmacchng(1);
return;
default:
goto nocount;
}
return;
default:
goto nocount;
}
+ vmacchng(1);
/*
* Had an operator, so accept another count.
* Multiply counts together.
/*
* Had an operator, so accept another count.
* Multiply counts together.
@@
-413,6
+415,7
@@
deleteit:
case 'x':
if (margin())
goto errlab;
case 'x':
if (margin())
goto errlab;
+ vmacchng(1);
while (cnt > 0 && !margin())
wcursor += dir, cnt--;
opf = deleteop;
while (cnt > 0 && !margin())
wcursor += dir, cnt--;
opf = deleteop;