summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-02-18 12:48:22 +0100
committerKarel Kočí <karel.koci@nic.cz>2020-02-18 12:48:22 +0100
commite79233a5fa1dbcdc368a2fa50f0accdbe6daffd8 (patch)
tree3c1cb5e9e3abdcb581df125cdaad776e37a36289
parent3f8f5094c4614c68be0b6d87ff7a2e1548fde1e5 (diff)
downloadsurf-mysurf.tar.gz
surf-mysurf.tar.bz2
surf-mysurf.zip
Drop unsupported chars from titlev2.0.9.5mysurf
-rw-r--r--surf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/surf.c b/surf.c
index 4960f58..faa0eb0 100644
--- a/surf.c
+++ b/surf.c
@@ -631,10 +631,10 @@ updatetitle(Client *c)
getpagestats(c);
if (c->progress != 100)
- title = g_strdup_printf("[%i%%]%s %s",
+ title = g_strdup_printf("[%i%%] %s%s",
c->progress, pagestats, name);
else
- title = g_strdup_printf("%s %s",
+ title = g_strdup_printf("%s%s",
pagestats, name);
gtk_window_set_title(GTK_WINDOW(c->win), title);
@@ -665,9 +665,9 @@ void
getpagestats(Client *c)
{
if (c->https)
- pagestats[0] = (c->tlserr || c->insecure) ? '⚠' : ' ';
+ pagestats[0] = (c->tlserr || c->insecure) ? '!' : '\0';
else
- pagestats[0] = '⚡';
+ pagestats[0] = '/';
pagestats[1] = '\0';
}