tPrint i items when searching a string in items - sacc - sacc (saccomys): simple gopher client. (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 65bb62ab632f7bbc5eda03595ca58d0f67805ae6 (DIR) parent 40de964b66ff1edbd19b6a61a68cee6f731e735c (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Mon, 23 Oct 2017 18:09:48 +0200 Print i items when searching a string in items Diffstat: ui_txt.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- (DIR) diff --git a/ui_txt.c b/ui_txt.c t@@ -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);