Fic names of caching vars.
authornash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 25 Jun 2010 08:52:37 +0000 (08:52 +0000)
committernash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 25 Jun 2010 08:52:37 +0000 (08:52 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49854 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_font_draw.c

index 5e1ba69..96b18e8 100644 (file)
@@ -408,7 +408,7 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
    
 #endif
 
-#if defined(METRICCACHE) || defined(WORDCACHE)
+#if defined(METRIC_CACHE) || defined(WORD_CACHE)
    /* A fast strNlen would be nice (there is a wcsnlen strangely) */
    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;
          }
 
-#ifdef WORDCACHE
+#ifdef WORD_CACHE
          for (j = rowstart ; j < rowend ; j ++){
               func(NULL, word->im + (word->roww * j) + xstart, dc->col.col,
                     im + ((y + j) * im_w) + x, xrun);
          }
-#elif defined(METRICCACHE)
+#elif defined(METRIC_CACHE)
          int ind;
          y += word->baseline;
          for (ind = 0 ; ind < len ; ind ++){