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) {
char *t;
if(c->progress != 100)
t = g_strdup_printf("[%i%%] %s", c->progress, c->title);
else if(c->linkhover)
if(c->linkhover)
t = g_strdup(c->linkhover);
else if(c->progress != 100)
t = g_strdup_printf("[%i%%] %s", c->progress, c->title);
else
t = g_strdup(c->title);
drawindicator(c);