summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-07-27 07:05:08 +0000
committerXin LI <delphij@FreeBSD.org>2009-07-27 07:05:08 +0000
commitf4cb5a505fa28e14d4b01e5c934bcf965a1822b6 (patch)
tree810267e0ca5dff14ee42186b5d1de9fe9938e0ca /input.c
parente1193b7bca0eca8d5c2740fdfa576746303bb993 (diff)
Diffstat (limited to 'input.c')
-rw-r--r--input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/input.c b/input.c
index 2cfa9bdfa6d8..058dec3a1ca6 100644
--- a/input.c
+++ b/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))