Status message patch from Jeremy Jackins and skls.

This commit is contained in:
Troels Henriksen 2012-01-17 13:54:35 +01:00
parent fc31616141
commit e75753775f

6
surf.c
View file

@ -793,10 +793,10 @@ void
update(Client *c) { update(Client *c) {
char *t; char *t;
if(c->progress != 100) if(c->linkhover)
t = g_strdup_printf("[%i%%] %s", c->progress, c->title);
else if(c->linkhover)
t = g_strdup(c->linkhover); t = g_strdup(c->linkhover);
else if(c->progress != 100)
t = g_strdup_printf("[%i%%] %s", c->progress, c->title);
else else
t = g_strdup(c->title); t = g_strdup(c->title);
drawindicator(c); drawindicator(c);