summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-19 01:33:02 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-19 01:33:51 +0100
commitc3f809c3460f1552feb0692fcb4b2402f043ae90 (patch)
tree07414ec480e4d2ec663629c769baa3563b261464 /src
parentfcd726a3285eb52d927116a7fedd5d14dcc699d0 (diff)
env var config - fix null var value handling in gui
fix CID 1428891 back to 0 issues.
Diffstat (limited to 'src')
-rw-r--r--src/modules/conf_paths/e_int_config_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/conf_paths/e_int_config_env.c b/src/modules/conf_paths/e_int_config_env.c
index 96348f066..96b7ddf1b 100644
--- a/src/modules/conf_paths/e_int_config_env.c
+++ b/src/modules/conf_paths/e_int_config_env.c
@@ -158,7 +158,7 @@ _env_text(E_Config_Env_Var *evr)
158 158
159 if (val) 159 if (val)
160 { 160 {
161 if (strlen(evr->val) > 64) 161 if ((evr->val) && (strlen(evr->val) > 64))
162 text = eina_slstr_printf("%s=%s...", evr->var, val); 162 text = eina_slstr_printf("%s=%s...", evr->var, val);
163 else 163 else
164 text = eina_slstr_printf("%s=%s", evr->var, val); 164 text = eina_slstr_printf("%s=%s", evr->var, val);