summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-05 13:40:30 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-05 13:42:11 +0900
commit013c0702f410796667020b0cd0c473f077887cf3 (patch)
tree5c7404d2d89e73bc6646be438307d0c48fdeda27 /src/lib/ecore_imf
parent32df056a32b8376f615338da1b59d299f40b87af (diff)
ecore_imf - fix make check to doa "load all" check after de-sillifying it
this should make ecore_imf testable with empty env vars also meaning no env var and the make check test will now ensuree this is set to exactly test this.
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/ecore_imf_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_module.c b/src/lib/ecore_imf/ecore_imf_module.c
index 9deede1..1d5747e 100644
--- a/src/lib/ecore_imf/ecore_imf_module.c
+++ b/src/lib/ecore_imf/ecore_imf_module.c
@@ -69,7 +69,7 @@ ecore_imf_module_init(void)
69 69
70 modules_load = built_modules; 70 modules_load = built_modules;
71 env = getenv("ECORE_IMF_MODULE"); 71 env = getenv("ECORE_IMF_MODULE");
72 if (env) 72 if ((env) && (env[0]))
73 { 73 {
74 modules_one[0] = env; 74 modules_one[0] = env;
75 modules_load = modules_one; 75 modules_load = modules_one;
@@ -99,7 +99,7 @@ ecore_imf_module_init(void)
99 if ((!env) && (!getenv("WAYLAND_DISPLAY")) && (getenv("DISPLAY"))) 99 if ((!env) && (!getenv("WAYLAND_DISPLAY")) && (getenv("DISPLAY")))
100 env = "xim"; 100 env = "xim";
101#endif 101#endif
102 if (env) 102 if ((env) && (env[0]))
103 { 103 {
104 const char **itr; 104 const char **itr;
105 Eina_Bool ok = EINA_FALSE; 105 Eina_Bool ok = EINA_FALSE;