raster pushed a commit to branch master.

commit f0670d0c8a8be2d9877c2511d93f9cbf2c0dde82
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Apr 8 10:52:10 2013 +0900

    this should fix a seg on exit.
---
 src/bin/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 1328241..2e0e917 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -578,6 +578,7 @@ main_close(Evas_Object *win, Evas_Object *term)
              _term_focus(sp->term);
              _term_focus_show(sp, sp->term);
           }
+        _split_tabcount_update(sp);
      }
    else
      {
@@ -604,8 +605,8 @@ main_close(Evas_Object *win, Evas_Object *term)
              _term_focus_show(sp, sp->term);
           }
         if (!sp->wn->terms) evas_object_del(sp->wn->win);
+        else _split_tabcount_update(sp);
      }
-   _split_tabcount_update(sp);
 }
 
 static Term *

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to