Use the new name H_SETSIZE instead of the old H_EVENT to set the history

size.

PR:		86355
Approved by:	gad
This commit is contained in:
Stefan Farfeleder 2005-10-19 16:37:52 +00:00
parent a22adbc68c
commit 6b6c96661e

View File

@ -167,7 +167,7 @@ cmdscanner(void)
if (!el) {
el = el_init("lpc", stdin, stdout, stderr);
hist = history_init();
history(hist, &he, H_EVENT, 100);
history(hist, &he, H_SETSIZE, 100);
el_set(el, EL_HIST, history, hist);
el_set(el, EL_EDITOR, "emacs");
el_set(el, EL_PROMPT, lpc_prompt);