summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2006-12-20 21:21:10 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2006-12-20 21:21:10 +0000
commita1817ad79f422536bd0de3ef1ead7d8330f023d6 (patch)
treedb387f295549d861b9215722d6f47f2b34d3be30
parent865ede1a50867cada15a3343ae759aa38b9d961f (diff)
Get rid of CVMVAS define. Originally to change pgforw/back parameter
from pages to lines. We don't use it.
-rw-r--r--usr.bin/mg/basic.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/mg/basic.c b/usr.bin/mg/basic.c
index 22c874e93d8..ce685a92320 100644
--- a/usr.bin/mg/basic.c
+++ b/usr.bin/mg/basic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: basic.c,v 1.27 2006/11/18 20:36:50 kjell Exp $ */
+/* $OpenBSD: basic.c,v 1.28 2006/12/20 21:21:09 kjell Exp $ */
/* This file is in the public domain */
@@ -266,10 +266,6 @@ forwpage(int f, int n)
n = 1; /* if tiny window. */
} else if (n < 0)
return (backpage(f | FFRAND, -n));
-#ifdef CVMVAS
- else /* Convert from pages */
- n *= curwp->w_ntrows; /* to lines. */
-#endif
lp = curwp->w_linep;
while (n-- && lforw(lp) != curbp->b_headp) {
lp = lforw(lp);
@@ -309,10 +305,6 @@ backpage(int f, int n)
n = 1; /* window is tiny. */
} else if (n < 0)
return (forwpage(f | FFRAND, -n));
-#ifdef CVMVAS
- else /* Convert from pages */
- n *= curwp->w_ntrows; /* to lines. */
-#endif
lp = curwp->w_linep;
while (n-- && lback(lp) != curbp->b_headp) {
lp = lback(lp);