URI: 
       tui_ti: nearentry(): remove redundant check - sacc - sacc(omys), simple console gopher client (mirror)
  HTML git clone https://git.parazyd.org/sacc
   DIR Log
   DIR Files
   DIR Refs
   DIR LICENSE
       ---
   DIR commit b9f7064a08d2e82307ab3d5a7824ce0bff038d66
   DIR parent d9e3acbafabde9b6ee4d2abbe484b035ae8a20fc
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 25 Feb 2018 15:26:42 +0100
       
       ui_ti: nearentry(): remove redundant check
       
       Diffstat:
         M ui_ti.c                             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/ui_ti.c b/ui_ti.c
       t@@ -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;
                }