tdisplay_uri: remove item username - sacc - sacc (saccomys): simple gopher client.
Log
Files
Refs
LICENSE
---
commit cee3b87b38eea7f84005bd95883b0e76c414119f
parent 6a9d83fffe834865655b58bfa68311479a1b019d
Author: 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:
  ui_ti.c                             |       6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
---
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;
         }