diff options
author | phk <phk@FreeBSD.org> | 1994-10-28 21:39:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-10-28 21:39:58 +0000 |
commit | c9a9505ff18ad6e68707a4f917026b5765c5336d (patch) | |
tree | 9b231a993bd22201c76733fba2e157a9943b3410 | |
parent | feb96dc39d40caba64f5b6368dcce55865519781 (diff) | |
download | FreeBSD-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 :-(
-rw-r--r-- | lib/libcurses/curses.h | 2 | ||||
-rw-r--r-- | lib/libcurses/refresh.c | 2 | ||||
-rw-r--r-- | lib/libcurses/setterm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h index f7c7f0f..64fb652 100644 --- a/lib/libcurses/curses.h +++ b/lib/libcurses/curses.h @@ -120,7 +120,7 @@ extern int My_term; /* Use Def_term regardless. */ extern char *Def_term; /* Default terminal type. */ /* Termcap capabilities. */ -extern char AM, BS, CA, DA, DB, EO, HC, IN, MI, MS, NC, NS, OS, +extern char AM, BS, CA, DA, cDB, EO, HC, IN, MI, MS, NC, NS, OS, PC, UL, XB, XN, XT, XS, XX; extern char *AL, *BC, *BT, *CD, *CE, *CL, *CM, *CR, *CS, *DC, *DL, *DM, *DO, *ED, *EI, *K0, *K1, *K2, *K3, *K4, *K5, *K6, 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; diff --git a/lib/libcurses/setterm.c b/lib/libcurses/setterm.c index ddb5871..650ec04 100644 --- a/lib/libcurses/setterm.c +++ b/lib/libcurses/setterm.c @@ -51,7 +51,7 @@ static void zap __P((void)); static char *sflags[] = { /* am bs da db eo hc in mi ms */ - &AM, &BS, &DA, &DB, &EO, &HC, &IN, &MI, &MS, + &AM, &BS, &DA, &cDB, &EO, &HC, &IN, &MI, &MS, /* nc ns os ul xb xn xt xs xx */ &NC, &NS, &OS, &UL, &XB, &XN, &XT, &XS, &XX }; |