summaryrefslogtreecommitdiff
path: root/lib/libedit/hist.c
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commit6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libedit/hist.c
parenta2f0036ac41fe46dd47d6339982567f19437ade9 (diff)
Notes
Diffstat (limited to 'lib/libedit/hist.c')
-rw-r--r--lib/libedit/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/hist.c b/lib/libedit/hist.c
index 394df63e9d3e..27dacd1925b1 100644
--- a/lib/libedit/hist.c
+++ b/lib/libedit/hist.c
@@ -101,7 +101,7 @@ hist_get(el)
if (el->el_history.eventno == 0) { /* if really the current line */
(void) strncpy(el->el_line.buffer, el->el_history.buf, EL_BUFSIZ);
- el->el_line.lastchar = el->el_line.buffer +
+ el->el_line.lastchar = el->el_line.buffer +
(el->el_history.last - el->el_history.buf);
#ifdef KSHVI