devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=c3e3560039566af6ceb1a323d00e94e7d7bfc79d

commit c3e3560039566af6ceb1a323d00e94e7d7bfc79d
Author: Christopher Michael <[email protected]>
Date:   Sat Apr 11 12:58:44 2020 -0400

    express: Fix segfault when starting with no config
    
    These defaults need to be set regardless of config version, so remove
    the config version check for these.
---
 src/bin/config.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/bin/config.c b/src/bin/config.c
index e77ddbe..2c2df84 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -260,7 +260,6 @@ _config_load(void)
 #define IFCFGEND }
 
    /* setup defaults */
-   IFCFG(0x008d);
    _ex_cfg->font.size = 10;
    _ex_cfg->font.bitmap = EINA_TRUE;
    _ex_cfg->font.name = eina_stringshare_add("nexus.pcf");
@@ -269,7 +268,6 @@ _config_load(void)
    _ex_cfg->gui.zoom = 0.5;
    _ex_cfg->gui.scrollback = 2000;
    _ex_cfg->networks = NULL;
-   IFCFGEND;
 
    IFCFG(0x009d);
    _ex_cfg->gui.tabs = 1;

-- 


Reply via email to