about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--about.c2
1 files changed, 1 insertions, 1 deletions
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<tr>"
 		    "<td colspan='%d' style='text-align: center'>"
 		    "No favorites - To add one use the 'favadd' command."
-		    "</td></tr>", body, args->i & XT_DELETE ? 3 : 2);
+		    "</td></tr>", body, (args && args->i & XT_DELETE) ? 3 : 2);
 		g_free(tmp);
 	}