Minor fix: Don't render text if there is nothing to do

SVN revision: 50408
This commit is contained in:
Brett Nash 2010-07-21 06:43:47 +00:00
parent 55f0882da4
commit 59d93f9353
1 changed files with 1 additions and 0 deletions

View File

@ -447,6 +447,7 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
// y = ext_y;
}
if (xrun < 1) return;
#ifdef WORD_CACHE
for (j = rowstart ; j < rowend ; j ++){
func(NULL, word->im + (word->roww * j) + xstart, dc->col.col,