Evas font-engine: Fixed a bug in the glyph search function.
authorTom Hacohen <tom@stosb.com>
Sun, 29 May 2011 09:20:13 +0000 (09:20 +0000)
committerTom Hacohen <tom@stosb.com>
Sun, 29 May 2011 09:20:13 +0000 (09:20 +0000)
SVN revision: 59776

legacy/evas/ChangeLog
legacy/evas/src/lib/engines/common/evas_font_main.c

index 825c84d..99cf108 100644 (file)
        * 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.
+
index cf9cfb0..a69c3cc 100644 (file)
@@ -534,5 +534,6 @@ evas_common_font_glyph_search(RGBA_Font *fn, RGBA_Font_Int **fi_ret, Eina_Unicod
                }
          }
      }
+   *fi_ret = NULL;
    return 0;
 }