Evas textblock: Fix skipping of ascii control chars.

SVN revision: 59900
This commit is contained in:
Tom Hacohen 2011-06-02 14:31:15 +00:00
parent 5311e3de70
commit 3da52c35cd
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi
/* Itr will end up being the first of the next run */
for ( ; itr < run_end ; itr++)
{
/* 0x1F is the last ASCII contral char, just a hack in
* the meanwhile. */
if (*itr <= 0x1F)
continue;
/* Break if either it's not in the font, or if it is in the
* script's font. */
if (fi == *script_fi)