tStatus message patch from Jeremy Jackins and skls. - surf - customized build of surf, the suckless webkit browser (HTM) git clone git://src.adamsgaard.dk/surf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit e75753775ff77bb7c31019ef1dd924e5cc912eb8 (DIR) parent fc3161614133b6b9e8855110859d7a96c08879d0 (HTM) Author: Troels Henriksen <athas@sigkill.dk> Date: Tue, 17 Jan 2012 13:54:35 +0100 Status message patch from Jeremy Jackins and skls. Diffstat: M surf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/surf.c b/surf.c t@@ -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);