Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : equate

Dir     : misc/equate/src


Modified Files:
        gui.c main.c 


Log Message:
Fix the segv that Marc-André Landry noticed. Also fixup an racylike config issue

===================================================================
RCS file: /cvs/e/misc/equate/src/gui.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- gui.c       14 Jul 2006 21:56:05 -0000      1.48
+++ gui.c       28 Sep 2006 22:11:15 -0000      1.49
@@ -374,7 +374,7 @@
    /* layout the display area, the table helps align the display even when in
     * basic mode */
    Ewl_Widget     *disp_table;
-   Ewl_Widget     *disp_cell[2];
+   Ewl_Widget     *disp_cell[3];
 
    disp_table = ewl_grid_new();
    if (calc_mode == SCI)
===================================================================
RCS file: /cvs/e/misc/equate/src/main.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- main.c      1 Dec 2004 00:53:39 -0000       1.29
+++ main.c      28 Sep 2006 22:11:15 -0000      1.30
@@ -100,10 +100,11 @@
    equate.conf.mode = ecore_config_int_get("/settings/mode");
    equate.conf.theme = ecore_config_theme_get("/settings/theme");
 
+   equate_init(&equate);
+   equate_init_gui(&equate, argc, argv);
+
    ecore_config_listen("gui_mode", "/settings/mode", gui_listener, 0, NULL);
    ecore_config_listen("gui_theme", "/settings/theme", gui_listener, 1, NULL);
 
-   equate_init(&equate);
-   equate_init_gui(&equate, argc, argv);
    return 0;
 }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to