diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-08-28 08:13:21 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-08-28 08:13:21 +0000 |
| commit | ef5ccd9e3c858c4585a47dd62523df89a9799d09 (patch) | |
| tree | a91967d03655edcc88d1b7d38a466e0bf70e7845 /lib/libncurses | |
| parent | fca5180712cb6cd3a35774ef9b62784b48451f7e (diff) | |
Notes
Diffstat (limited to 'lib/libncurses')
| -rw-r--r-- | lib/libncurses/lib_doupdate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libncurses/lib_doupdate.c b/lib/libncurses/lib_doupdate.c index cf7d284b70ca..1f42a90ef39e 100644 --- a/lib/libncurses/lib_doupdate.c +++ b/lib/libncurses/lib_doupdate.c @@ -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]); |
