Fix the compile error: Doesn't fix massive performance regression or rather
obvious semantic change in the code. ie: If you are changing code: Read the comment on the LINE ABOVE the code you are changing. SVN revision: 50674
This commit is contained in:
parent
ffc048d5e4
commit
7403813b4b
|
@ -416,7 +416,7 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
|
|||
|
||||
#if defined(METRIC_CACHE) || defined(WORD_CACHE)
|
||||
/* A fast strNlen would be nice (there is a wcsnlen strangely) */
|
||||
len = evas_common_econding_unicode_strlen(text);
|
||||
len = evas_common_enconding_unicode_strlen(text);
|
||||
|
||||
if (len > 2 && len < WORD_CACHE_MAXLEN){
|
||||
struct prword *word = evas_font_word_prerender(dc, text, intl_props, len, fn, fi,
|
||||
|
|
Loading…
Reference in New Issue