From 8f97b95aee84aba6d4c8869a7a9eb98e446e9b32 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 19 Jan 2019 00:04:06 -0500 Subject: Take event number for save incr ev cannot be used for input, as the first thing history() does is clear it. --- bin/cash/libedit/histedit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/cash/libedit/histedit.h') diff --git a/bin/cash/libedit/histedit.h b/bin/cash/libedit/histedit.h index a6bdee48..ecb42686 100644 --- a/bin/cash/libedit/histedit.h +++ b/bin/cash/libedit/histedit.h @@ -226,8 +226,8 @@ int history(History *, HistEvent *, int, ...); #define H_DELDATA 24 /* , int, histdata_t *);*/ #define H_REPLACE 25 /* , const char *, histdata_t); */ #define H_SAVE_FP 26 /* , FILE *); */ -#define H_SAVE_INCR 27 /* , const char *); */ -#define H_SAVE_FP_INCR 28 /* , FILE *); */ +#define H_SAVE_INCR 27 /* , const char *, int); */ +#define H_SAVE_FP_INCR 28 /* , FILE *, int); */ -- cgit 1.4.1