X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=history.c;h=ba01d514bb51d64789e2b6644d05b144dc04f8cd;hp=27c345bc01a495291dbdf1fec094230d13cea4d9;hb=dc2c2ef1ba4d0a0f3c2552459b9f962594a3536b;hpb=74a2265af51ce89bca845adc1d68f273c9933c13 diff --git a/history.c b/history.c index 27c345b..ba01d51 100644 --- a/history.c +++ b/history.c @@ -71,7 +71,7 @@ void mutt_history_add (history_class_t hclass, const char *s) if (prev < 0) prev = HistSize - 1; if (!h->hist[prev] || mutt_strcmp (h->hist[prev], s) != 0) { - mutt_str_replace (&h->hist[h->last++], s); + str_replace (&h->hist[h->last++], s); if (h->last > HistSize - 1) h->last = 0; }