summaryrefslogtreecommitdiffstats
path: root/contrib/less/linenum.c
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2002-01-07 20:29:38 +0000
committerps <ps@FreeBSD.org>2002-01-07 20:29:38 +0000
commitc0c85bc41cb6c023adae56cf0a7e3495bd528cb2 (patch)
tree22ed5b4269586d3d5c21d37a27645897709341e3 /contrib/less/linenum.c
parent5d465776b9e058088e1f29636cf7cdcb0c13eb0d (diff)
downloadFreeBSD-src-c0c85bc41cb6c023adae56cf0a7e3495bd528cb2.zip
FreeBSD-src-c0c85bc41cb6c023adae56cf0a7e3495bd528cb2.tar.gz
Import less v371
Diffstat (limited to 'contrib/less/linenum.c')
-rw-r--r--contrib/less/linenum.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/less/linenum.c b/contrib/less/linenum.c
index e75711c..7a90cd5 100644
--- a/contrib/less/linenum.c
+++ b/contrib/less/linenum.c
@@ -297,7 +297,6 @@ find_linenum(pos)
* The decision is based on which way involves
* traversing fewer bytes in the file.
*/
- flush();
#if HAVE_TIME
startime = get_time();
#endif
@@ -386,7 +385,6 @@ find_pos(lno)
/* Found it exactly. */
return (p->pos);
- flush();
if (p == &anchor || lno - p->prev->line < p->line - lno)
{
/*
OpenPOWER on IntegriCloud