Print i items when searching a string in items - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit 65bb62ab632f7bbc5eda03595ca58d0f67805ae6
parent 40de964b66ff1edbd19b6a61a68cee6f731e735c
Author: Quentin Rameau 
Date:   Mon, 23 Oct 2017 18:09:48 +0200

Print i items when searching a string in items

Diffstat:
  M ui_txt.c                            |       2 ++

1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ui_txt.c b/ui_txt.c
@@ -148,7 +148,9 @@ printuri(Item *item, size_t i)
 
         switch (item->type) {
         case 0:
+                break;
         case 'i':
+                printf("%zu: %s\n", i, item->username);
                 break;
         case 'h':
                 printf("%zu: %s: %s\n", i, item->username, item->selector);