tdisplay_uri: remove item username - 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 cee3b87b38eea7f84005bd95883b0e76c414119f DIR parent 6a9d83fffe834865655b58bfa68311479a1b019d HTML Author: trqx@goat.si <trqx@goat.si> Date: Wed, 15 Aug 2018 11:49:05 +0200 display_uri: remove item username so URIs can be fully displayed on smaller screens Diffstat: M ui_ti.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/ui_ti.c b/ui_ti.c t@@ -218,10 +218,10 @@ displayuri(Item *item) break; default: fmt = strcmp(item->port, "70") ? - "%1$s: gopher://%2$s:%5$s/%3$c%4$s" : - "%s: gopher://%s/%c%s"; + "gopher://%1$s:%4$s/%2$c%3$s" : + "gopher://%s/%c%s"; n = snprintf(bufout, sizeof(bufout), fmt, - item->username, item->host, item->type, + item->host, item->type, item->selector, item->port); break; }