From fc721864ca1b124b0b0c8142433fe28e22b70451 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 28 Aug 2012 16:06:25 -0400 Subject: Fix about:favorites (:fav, not :favedit) with no entries --- about.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/about.c b/about.c index 61ed2ac..d996db9 100644 --- a/about.c +++ b/about.c @@ -1351,9 +1351,9 @@ xtp_page_fl(struct tab *t, struct karg *args) if (i == 1) { tmp = body; body = g_strdup_printf("%s" - "" + "" "No favorites - To add one use the 'favadd' command." - "", body); + "", body, args->i & XT_DELETE ? 3 : 2); g_free(tmp); } -- cgit 1.4.1-2-gfad0