Fic names of caching vars.

SVN revision: 49854
This commit is contained in:
Brett Nash 2010-06-25 08:52:37 +00:00
parent 726b1ffb7f
commit 22e2ac921c
1 changed files with 3 additions and 3 deletions

View File

@ -408,7 +408,7 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
#endif #endif
#if defined(METRICCACHE) || defined(WORDCACHE) #if defined(METRIC_CACHE) || defined(WORD_CACHE)
/* A fast strNlen would be nice (there is a wcsnlen strangely) */ /* A fast strNlen would be nice (there is a wcsnlen strangely) */
for (len = 0 ; text[len] && len < WORD_CACHE_MAXLEN ; len ++) for (len = 0 ; text[len] && len < WORD_CACHE_MAXLEN ; len ++)
; ;
@ -445,12 +445,12 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
// y = ext_y; // y = ext_y;
} }
#ifdef WORDCACHE #ifdef WORD_CACHE
for (j = rowstart ; j < rowend ; j ++){ for (j = rowstart ; j < rowend ; j ++){
func(NULL, word->im + (word->roww * j) + xstart, dc->col.col, func(NULL, word->im + (word->roww * j) + xstart, dc->col.col,
im + ((y + j) * im_w) + x, xrun); im + ((y + j) * im_w) + x, xrun);
} }
#elif defined(METRICCACHE) #elif defined(METRIC_CACHE)
int ind; int ind;
y += word->baseline; y += word->baseline;
for (ind = 0 ; ind < len ; ind ++){ for (ind = 0 ; ind < len ; ind ++){