billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=044a7f98b99611aa55baeaf3b9111e5b809e0a19

commit 044a7f98b99611aa55baeaf3b9111e5b809e0a19
Author: Markus Törnqvist <m...@fadconsulting.com>
Date:   Sun Jan 12 20:00:38 2014 +0200

    Use config->login_shell
    
    Thanks cippp for finding this!
---
 src/bin/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 2ec099b..5b166ae 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -293,7 +293,7 @@ _split_split(Split *sp, Eina_Bool horizontal)
    config = config_fork(sp->term->config);
    if (termio_cwd_get(sp->term->term, buf, sizeof(buf))) wdir = buf;
    sp2->term = main_term_new(sp->wn, config,
-                             NULL, EINA_FALSE, wdir,
+                             NULL, config->login_shell, wdir,
                              80, 24, EINA_FALSE);
    sp2->terms = eina_list_append(sp2->terms, sp2->term);
    _term_resize_track_start(sp2);
@@ -367,7 +367,7 @@ main_new_with_dir(Evas_Object *win, Evas_Object *term, 
const char *wdir)
    config = config_fork(sp->term->config);
    termio_size_get(sp->term->term, &w, &h);
    sp->term = main_term_new(sp->wn, config,
-                            NULL, EINA_FALSE, wdir,
+                            NULL, config->login_shell, wdir,
                             w, h, EINA_FALSE);
    sp->terms = eina_list_append(sp->terms, sp->term);
    _term_resize_track_start(sp);

-- 


Reply via email to