From cda5a4c8462733e9b44276f3be8c44e3c596b9f7 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 28 Aug 2012 16:09:11 -0400 Subject: [PATCH] Fix last commit, args may be NULL. --- about.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.c b/about.c index d996db9..12dab48 100644 --- a/about.c +++ b/about.c @@ -1353,7 +1353,7 @@ xtp_page_fl(struct tab *t, struct karg *args) body = g_strdup_printf("%s" "" "No favorites - To add one use the 'favadd' command." - "", body, args->i & XT_DELETE ? 3 : 2); + "", body, (args && args->i & XT_DELETE) ? 3 : 2); g_free(tmp); } -- 2.11.4.GIT