about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTodd Fries <todd@fries.net>2010-02-25 20:25:50 +0000
committerTodd Fries <todd@fries.net>2010-02-25 20:25:50 +0000
commit1595ca8cdb5f69cde13a33659fee846d53e36641 (patch)
tree5d0e8e3ffcc8ea59871e61dfa47601645b83bafd
parentfb5774e1a3f5daf160b991c7bdc5aaed6bc6b228 (diff)
downloadxombrero-1595ca8cdb5f69cde13a33659fee846d53e36641.tar.gz
sure do test, marco@
-rw-r--r--xxxterm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index bb085d7..fb16866 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -528,6 +528,9 @@ resizetab(struct tab *t, struct karg *args)
 {
 	DNPRINTF(XT_D_TAB, "resizetab: %p %d\n", t, args->i);
 
+	if (t == NULL)
+		return (XT_CB_PASSTHROUGH);
+
 	adjustfont_webkit(t, args->i);
 
 	return (XT_CB_HANDLED);