sacc

sacc(omys), simple console gopher client (mirror)
git clone https://git.parazyd.org/sacc
Log | Files | Refs | LICENSE

commit b9f7064a08d2e82307ab3d5a7824ce0bff038d66
parent d9e3acbafabde9b6ee4d2abbe484b035ae8a20fc
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 25 Feb 2018 15:26:42 +0100

ui_ti: nearentry(): remove redundant check

Diffstat:
Mui_ti.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui_ti.c b/ui_ti.c @@ -418,7 +418,7 @@ nearentry(Item *entry, int direction) lastitem = dir->nitems; item = dir->curline + direction; - for (; item >= 0 && item < lastitem; item += direction) { + for (; item < lastitem; item += direction) { if (dir->items[item].type != 'i') return item; }