mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Fix inspace handling I broke in rev 1.13
This commit is contained in:
parent
fca5180712
commit
ef5ccd9e3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28857
1 changed files with 3 additions and 3 deletions
|
@ -229,9 +229,9 @@ int lastNonBlank;
|
|||
}
|
||||
|
||||
for (j = 0; j <= lastNonBlank; j++) {
|
||||
int inspace = 0;
|
||||
|
||||
if (parm_right_cursor) {
|
||||
static int inspace = 0;
|
||||
|
||||
if ((scr->_line[i][j]) == BLANK) {
|
||||
inspace++;
|
||||
continue;
|
||||
|
@ -243,8 +243,8 @@ int lastNonBlank;
|
|||
T(("trying to use parm_right_cursor"));
|
||||
putp(tparm(parm_right_cursor, inspace));
|
||||
SP->_curscol += inspace;
|
||||
inspace = 0;
|
||||
}
|
||||
inspace = 0;
|
||||
}
|
||||
}
|
||||
PutChar(scr->_line[i][j]);
|
||||
|
|
Loading…
Reference in a new issue