summaryrefslogtreecommitdiffstats
path: root/contrib/less/screen.c
diff options
context:
space:
mode:
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 a081918..3c123b9 100644
--- a/contrib/less/screen.c
+++ b/contrib/less/screen.c
@@ -1846,11 +1846,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