struct history *h = &History[hclass];
if (!HistSize)
- return (""); /* disabled */
+ return ""; /* disabled */
next = h->cur + 1;
if (next > HistSize - 1)
next = 0;
h->cur = h->hist[next] ? next : 0;
- return (h->hist[h->cur] ? h->hist[h->cur] : "");
+ return h->hist[h->cur] ? h->hist[h->cur] : "";
}
const char *mutt_history_prev (history_class_t hclass)
struct history *h = &History[hclass];
if (!HistSize)
- return (""); /* disabled */
+ return ""; /* disabled */
prev = h->cur - 1;
if (prev < 0) {
}
if (h->hist[prev])
h->cur = prev;
- return (h->hist[h->cur] ? h->hist[h->cur] : "");
+ return h->hist[h->cur] ? h->hist[h->cur] : "";
}