From: Tom Hacohen Date: Sun, 29 May 2011 09:20:13 +0000 (+0000) Subject: Evas font-engine: Fixed a bug in the glyph search function. X-Git-Tag: submit/devel/efl/20131022.203902~9440 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca1fc26a0e85e712a66ac7712e9607e8b04f00c9;p=platform%2Fupstream%2Fefl.git Evas font-engine: Fixed a bug in the glyph search function. SVN revision: 59776 --- diff --git a/legacy/evas/ChangeLog b/legacy/evas/ChangeLog index 825c84d..99cf108 100644 --- a/legacy/evas/ChangeLog +++ b/legacy/evas/ChangeLog @@ -371,3 +371,8 @@ * Add evas_event_thaw_eval() for conveneince of evaluating in state and callbacks of the pointer after a thaw is complete. +2011-05-29 Tom Hacohen (TAsn) + + * Font-engine: Fixed a bug in glyph search causing inconsistent return + values. The found fi should always be NULL if there was no fi found. + diff --git a/legacy/evas/src/lib/engines/common/evas_font_main.c b/legacy/evas/src/lib/engines/common/evas_font_main.c index cf9cfb0..a69c3cc 100644 --- a/legacy/evas/src/lib/engines/common/evas_font_main.c +++ b/legacy/evas/src/lib/engines/common/evas_font_main.c @@ -534,5 +534,6 @@ evas_common_font_glyph_search(RGBA_Font *fn, RGBA_Font_Int **fi_ret, Eina_Unicod } } } + *fi_ret = NULL; return 0; }