summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/refresh.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-28 21:39:58 +0000
committerphk <phk@FreeBSD.org>1994-10-28 21:39:58 +0000
commitc9a9505ff18ad6e68707a4f917026b5765c5336d (patch)
tree9b231a993bd22201c76733fba2e157a9943b3410 /lib/libcurses/refresh.c
parentfeb96dc39d40caba64f5b6368dcce55865519781 (diff)
downloadFreeBSD-src-c9a9505ff18ad6e68707a4f917026b5765c5336d.zip
FreeBSD-src-c9a9505ff18ad6e68707a4f917026b5765c5336d.tar.gz
Renamed a variable from 'DB' to 'cDB', so the vi(1) will compile again.
Nice to see that people test their fixes before they commit :-(
Diffstat (limited to 'lib/libcurses/refresh.c')
-rw-r--r--lib/libcurses/refresh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c
index 4cb87a3..d22d880 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 ((!DB && SF != NULL || n == 1) && bot == curscr->maxy - 1 && top == 0) {
+ if ((!cDB && SF != NULL || n == 1) && bot == curscr->maxy - 1 && top == 0) {
__mvcur(oy, ox, curscr->maxy - 1, 0, 1);
if (n == 1)
goto f_nl1;
OpenPOWER on IntegriCloud