fixed small bug

This commit is contained in:
eck
1989-11-27 11:40:58 +00:00
parent 671556cfc4
commit c6d60cb24f
2 changed files with 2 additions and 0 deletions

View File

@@ -639,6 +639,7 @@ get_text(formals, length)
c = GetChar();
repl->r_ptr = repl->r_text = Malloc(repl->r_size = ITEXTSIZE);
*repl->r_ptr = '\0';
while ((c != EOI) && (class(c) != STNL)) {
if (BLANK(c)) {
if (!blank++) add2repl(repl, ' ');