summaryrefslogtreecommitdiffstats
path: root/contrib/less/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/less/input.c')
-rw-r--r--contrib/less/input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/less/input.c b/contrib/less/input.c
index 2cfa9bd..058dec3 100644
--- a/contrib/less/input.c
+++ b/contrib/less/input.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2008 Mark Nudelman
+ * Copyright (C) 1984-2009 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
@@ -196,7 +196,7 @@ get_forw_line:
c = ch_forw_get();
}
- pdone(endline, c);
+ pdone(endline, 1);
#if HILITE_SEARCH
if (is_filtered(base_pos))
@@ -398,7 +398,7 @@ get_back_line:
}
} while (new_pos < curr_pos);
- pdone(endline, ch_forw_get());
+ pdone(endline, 0);
#if HILITE_SEARCH
if (is_filtered(base_pos))
OpenPOWER on IntegriCloud