Status message patch from Jeremy Jackins and skls.
authorTroels Henriksen <athas@sigkill.dk>
Tue, 17 Jan 2012 12:54:35 +0000 (13:54 +0100)
committerTroels Henriksen <athas@sigkill.dk>
Tue, 17 Jan 2012 12:54:35 +0000 (13:54 +0100)
surf.c

diff --git a/surf.c b/surf.c
index baebe5c..6022ca2 100644 (file)
--- 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);