summaryrefslogtreecommitdiffstats
path: root/contrib/less/screen.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-11-16 22:22:17 +0000
committerdelphij <delphij@FreeBSD.org>2007-11-16 22:22:17 +0000
commite2b0c4a1d9f9f53e73cf7da116a4546c07cde418 (patch)
tree0c9762eeda7d2def39527db440983a3ea2c88c41 /contrib/less/screen.c
parent9680b7d49a594123cfffb2bc9d11614d1a2625d0 (diff)
downloadFreeBSD-src-e2b0c4a1d9f9f53e73cf7da116a4546c07cde418.zip
FreeBSD-src-e2b0c4a1d9f9f53e73cf7da116a4546c07cde418.tar.gz
Virgin import of less v415.
Diffstat (limited to 'contrib/less/screen.c')
-rw-r--r--contrib/less/screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/less/screen.c b/contrib/less/screen.c
index 51ab799..8e3a060 100644
--- a/contrib/less/screen.c
+++ b/contrib/less/screen.c
@@ -1845,11 +1845,15 @@ line_left()
row = scr.dwCursorPosition.Y - scr.srWindow.Top + 1;
}
#else
+#if MSDOS_COMPILER==BORLANDC || MSDOS_COMPILER==DJGPPC
+ row = wherey();
+#else
{
struct rccoord tpos = _gettextposition();
row = tpos.row;
}
#endif
+#endif
_settextposition(row, 1);
#endif
}
OpenPOWER on IntegriCloud