forked from enlightenment/efl
ecore_imf_context: fixing default id getter
Summary: If none of ECORE_IMF_MODULE and WAYLAND_DISPLAY variables are setted best of available moduls should be found. Removed odd return statement. Reviewers: cedric, seoz, Hermet Reviewed By: Hermet Subscribers: cedric, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D1344 @fix
This commit is contained in:
parent
9a91261a4e
commit
c8814e49ac
|
@ -78,7 +78,6 @@ ecore_imf_context_default_id_by_canvas_type_get(const char *canvas_type)
|
||||||
id = "wayland";
|
id = "wayland";
|
||||||
if (ecore_imf_module_get(id)) return id;
|
if (ecore_imf_module_get(id)) return id;
|
||||||
}
|
}
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
modules = ecore_imf_module_available_get();
|
modules = ecore_imf_module_available_get();
|
||||||
|
|
Loading…
Reference in New Issue