elementary/win: Fix engine comparision condition.

With the wrong comparison, elm_win_wl_window_get() will always return
NULL.

Patch by: U. Artie Eoff <ullysses.a.eoff@intel.com>

SVN revision: 83303
This commit is contained in:
U. Artie Eoff 2013-01-24 16:05:12 +00:00 committed by Rafael Antognolli
parent 3bcb50c61b
commit 985c6f7af9
1 changed files with 1 additions and 1 deletions

View File

@ -5102,7 +5102,7 @@ elm_win_wl_window_get(const Evas_Object *obj)
{
if (!obj) return NULL;
if ((!ENGINE_COMPARE(ELM_WAYLAND_SHM)) ||
if ((!ENGINE_COMPARE(ELM_WAYLAND_SHM)) &&
(!ENGINE_COMPARE(ELM_WAYLAND_EGL)))
return NULL;