From a5d93a4ece40ec43c831c2c942fd299d94a694f9 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 13 Jun 2017 12:55:01 -0400 Subject: [PATCH] ecore-evas: Fix return value in ecore_evas_aux_hint_val_set function Small patch to fix misleading return value when ecore_evas_aux_hint_val_set fails. In the above code, we will return EINA_TRUE already if the aux_hints_set works, so this return value at the bottom of the function should be EINA_FALSE. @fix Signed-off-by: Chris Michael --- src/lib/ecore_evas/ecore_evas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index f375559c98..07ee8e8dce 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -2445,7 +2445,7 @@ ecore_evas_aux_hint_val_set(Ecore_Evas *ee, const int id, const char *val) } } - return EINA_TRUE; + return EINA_FALSE; } EAPI const char *