summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/win.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index fbbaedf..d07e444 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -2826,6 +2826,13 @@ term_new(Win *wn, Config *config, const char *cmd,
2826 2826
2827 term->term = o = termio_add(wn->win, config, cmd, login_shell, cd, 2827 term->term = o = termio_add(wn->win, config, cmd, login_shell, cd,
2828 size_w, size_h, term); 2828 size_w, size_h, term);
2829 if (!term->term)
2830 {
2831 CRITICAL(_("Could not create termio widget."));
2832 evas_object_del(term->bg);
2833 free(term);
2834 return NULL;
2835 }
2829 colors_term_init(termio_textgrid_get(term->term), term->bg, config); 2836 colors_term_init(termio_textgrid_get(term->term), term->bg, config);
2830 2837
2831 termio_win_set(o, wn->win); 2838 termio_win_set(o, wn->win);