diff options
author | Josh Rickmar <jrick@devio.us> | 2012-08-24 14:03:27 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-08-24 14:03:27 -0400 |
commit | b8e326408ea7dc00e6c9a305a7f2a2d68435c2d9 (patch) | |
tree | 0bee6dd652fa0f5960969f1d2718ec01ce9647cc | |
parent | 1e24b42bc136b2cc0f06b6db1ae31472566ab541 (diff) | |
download | xombrero-b8e326408ea7dc00e6c9a305a7f2a2d68435c2d9.tar.gz |
Make removing links from :favedit not crash. tsk tsk me
-rw-r--r-- | about.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/about.c b/about.c index bd49433..59da947 100644 --- a/about.c +++ b/about.c @@ -1295,7 +1295,7 @@ xtp_page_fl(struct tab *t, struct karg *args) } /* body */ - if (args->i & XT_DELETE) + if (args && args->i & XT_DELETE) body = g_strdup_printf("<table style='table-layout:fixed'><tr>" "<th style='width: 40px'>#</th><th>Link</th>" "<th style='width: 40px'>Rm</th></tr>\n"); @@ -1320,7 +1320,7 @@ xtp_page_fl(struct tab *t, struct karg *args) } tmp = body; - if (args->i & XT_DELETE) + if (args && args->i & XT_DELETE) body = g_strdup_printf("%s<tr>" "<td>%d</td>" "<td><a href='%s'>%s</a></td>" |