env var config - fix null var value handling in gui

fix CID 1428891

back to 0 issues.
devs/bu5hm4n/recognition
Carsten Haitzler 2 years ago
parent fcd726a328
commit c3f809c346
  1. 2
      src/modules/conf_paths/e_int_config_env.c

@ -158,7 +158,7 @@ _env_text(E_Config_Env_Var *evr)
if (val)
{
if (strlen(evr->val) > 64)
if ((evr->val) && (strlen(evr->val) > 64))
text = eina_slstr_printf("%s=%s...", evr->var, val);
else
text = eina_slstr_printf("%s=%s", evr->var, val);

Loading…
Cancel
Save