* If a line began with a tabulator and another tabulator was inserted with

the cursor located on the first tabulator, the display was not updated
  appropriately since the last revision (Bugreport by Matthew Fischer). (P)
This commit is contained in:
Gunnar Ritter
2005-01-22 22:45:29 +00:00
parent 0e1e0f0cb5
commit 8cfde7de61
3 changed files with 7 additions and 6 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_vput.c 1.44 (gritter) 1/22/05";
static char sccsid[] = "@(#)ex_vput.c 1.45 (gritter) 1/22/05";
#endif
#endif
@@ -1055,7 +1055,7 @@ viin(int c)
if (remdoom > insmc1) {
remdoom--;
endim();
} else if (noim || remdoom == insmc1)
} else if (noim || insmc1 && remdoom == insmc1)
endim();
else if (IM && EI) {
vcsync();
@@ -1064,7 +1064,7 @@ viin(int c)
vputchar(c);
}
if (!IM || !EI || remdoom == insmc1) {
if (!IM || !EI || remdoom && remdoom == insmc1) {
/*
* We are a dumb terminal; brute force update
* the rest of the line; this is very much an n^^2 process,