summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroels Henriksen <athas@sigkill.dk>2012-01-17 13:54:35 +0100
committerTroels Henriksen <athas@sigkill.dk>2012-01-17 13:54:35 +0100
commite75753775ff77bb7c31019ef1dd924e5cc912eb8 (patch)
treecd98e98e7f6891b205084c2cf4d6d191066f37b6
parentfc3161614133b6b9e8855110859d7a96c08879d0 (diff)
downloadsurf-e75753775ff77bb7c31019ef1dd924e5cc912eb8.tar.gz
surf-e75753775ff77bb7c31019ef1dd924e5cc912eb8.tar.bz2
surf-e75753775ff77bb7c31019ef1dd924e5cc912eb8.zip
Status message patch from Jeremy Jackins and skls.
-rw-r--r--surf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/surf.c b/surf.c
index baebe5c..6022ca2 100644
--- a/surf.c
+++ b/surf.c
@@ -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);