devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=e57a00da5340124677b4c2d8f18dab5639704890
commit e57a00da5340124677b4c2d8f18dab5639704890 Author: Chris Michael <cp.mich...@samsung.com> Date: Thu Aug 7 10:10:45 2014 -0400 elementary: Handle case where ELM_ENGINE environment variable is misspelled. In case someone exports the ELM_ENGINE to be wayland-shm or wayland-egl, let's handle That case also. Typically it is set to wayland_shm or wayland_egl but since we check variants of spelling for other engines also, then let's check it for the wayland engines too. @fix Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/elm_config.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index 0804fb7..a74c49c 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -1979,9 +1979,11 @@ _env_get(void) eina_stringshare_replace(&_elm_config->engine, s); else if ((!strcasecmp(s, "ews"))) eina_stringshare_replace(&_elm_config->engine, ELM_EWS); - else if ((!strcasecmp(s, "wayland_shm"))) + else if ((!strcasecmp(s, "wayland_shm")) || + (!strcasecmp(s, "wayland-shm"))) eina_stringshare_replace(&_elm_config->engine, ELM_WAYLAND_SHM); - else if ((!strcasecmp(s, "wayland_egl"))) + else if ((!strcasecmp(s, "wayland_egl")) || + (!strcasecmp(s, "wayland-egl"))) eina_stringshare_replace(&_elm_config->engine, ELM_WAYLAND_EGL); else if ((!strcasecmp(s, "drm"))) eina_stringshare_replace(&_elm_config->engine, ELM_DRM); --