1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 10:46:45 +02:00

beep when it should beep

This commit is contained in:
Jfreegman
2013-12-15 20:52:10 -05:00
parent dfb5b16e7d
commit d04f5fa102
4 changed files with 54 additions and 5 deletions

View File

@ -132,7 +132,7 @@ void fetch_hist_item(wchar_t *buf, size_t *pos, size_t *len, wchar_t (*hst)[MAX_
} else {
if (++(*hst_pos) > hst_tot) {
--(*hst_pos);
discard_buf(buf, pos, len);
beep();
return;
}
}