From: Chris Michael Date: Tue, 13 Jun 2017 16:55:01 +0000 (-0400) Subject: ecore-evas: Fix return value in ecore_evas_aux_hint_val_set function X-Git-Tag: upstream/1.20.0~579 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5d93a4ece40ec43c831c2c942fd299d94a694f9;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index f375559..07ee8e8 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 *