From c8814e49accbd81b7a7e7d8dbfc25a819b9d08de Mon Sep 17 00:00:00 2001 From: Andrii Kroitor Date: Wed, 20 Aug 2014 22:41:05 +0900 Subject: [PATCH] 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 --- src/lib/ecore_imf/ecore_imf_context.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c index 6955980e7a..841b2aae49 100644 --- a/src/lib/ecore_imf/ecore_imf_context.c +++ b/src/lib/ecore_imf/ecore_imf_context.c @@ -78,7 +78,6 @@ ecore_imf_context_default_id_by_canvas_type_get(const char *canvas_type) id = "wayland"; if (ecore_imf_module_get(id)) return id; } - return NULL; } modules = ecore_imf_module_available_get();