Whine if the engine in ELM_ENGINE is not known so users are aware of it
authorIván Briano <sachieru@gmail.com>
Wed, 25 Jan 2012 17:15:43 +0000 (17:15 +0000)
committerIván Briano <sachieru@gmail.com>
Wed, 25 Jan 2012 17:15:43 +0000 (17:15 +0000)
SVN revision: 67540

src/lib/elm_config.c

index 3e273cc..26e406c 100644 (file)
@@ -1205,6 +1205,8 @@ _env_get(void)
           eina_stringshare_replace(&_elm_config->engine, ELM_WAYLAND_SHM);
         else if ((!strcasecmp(s, "wayland_egl")))
           eina_stringshare_replace(&_elm_config->engine, ELM_WAYLAND_EGL);
+        else
+          ERR("Unknown engine '%s'.", s);
      }
 
    s = getenv("ELM_VSYNC");