diff options
Diffstat (limited to 'Src/hist.c')
-rw-r--r-- | Src/hist.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Src/hist.c b/Src/hist.c index a78c403f1..fcd5d877a 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -1435,14 +1435,21 @@ convamps(char *out, char *in, int inlen) /**/ Histent -quietgethist(int ev) +quietgethistent(int ev, int nearmatch) { if (ev == curhist && (histactive & HA_ACTIVE)) { curline.text = chline; curline.nwords = chwordpos/2; curline.words = chwords; } - return gethistent(ev, GETHIST_EXACT); + return gethistent(ev, nearmatch); +} + +/**/ +Histent +quietgethist(int ev) +{ + return quietgethistent(ev, GETHIST_EXACT); } /**/ |