From cfcf7bda8d6bd15b9c0274a8ee01f0b517484635 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 20 Feb 2002 19:25:14 +0000 Subject: Yet another fix for prepnexthistent(). --- Src/hist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Src/hist.c b/Src/hist.c index 4f78e7309..5c8ac8d95 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -971,7 +971,8 @@ prepnexthistent(void) } else { putoldhistentryontop(0); - freehistdata(he = hist_ring, 0); + freehistdata(hist_ring, 0); + he = hist_ring; } he->histnum = ++curhist; if (curline_in_ring) -- cgit 1.4.1