diff options
author | ache <ache@FreeBSD.org> | 1994-10-28 23:18:26 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-28 23:18:26 +0000 |
commit | 1f66985bdc3ba17ee27f769cb6fdc143bd138d96 (patch) | |
tree | 38d76fd1c0ae594c6266c3f5f4f4d4d175b5b07f /lib/libcurses/refresh.c | |
parent | b706546997a9c399114cfb23cbe5f8cc2c0c6a3a (diff) | |
download | FreeBSD-src-1f66985bdc3ba17ee27f769cb6fdc143bd138d96.zip FreeBSD-src-1f66985bdc3ba17ee27f769cb6fdc143bd138d96.tar.gz |
Rename cDB to DB back like old good BSD curses always does,
check ultrix for example. Real place for fix will be vi(1),
wait for next commit.
Diffstat (limited to 'lib/libcurses/refresh.c')
-rw-r--r-- | lib/libcurses/refresh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c index d22d880..4cb87a3 100644 --- a/lib/libcurses/refresh.c +++ b/lib/libcurses/refresh.c @@ -745,7 +745,7 @@ scrolln(starts, startw, curs, bot, top) if (n > 0) { /* Scroll up the screen. */ - if ((!cDB && SF != NULL || n == 1) && bot == curscr->maxy - 1 && top == 0) { + if ((!DB && SF != NULL || n == 1) && bot == curscr->maxy - 1 && top == 0) { __mvcur(oy, ox, curscr->maxy - 1, 0, 1); if (n == 1) goto f_nl1; |