Minor fix: Don't render text if there is nothing to do
SVN revision: 50408
This commit is contained in:
parent
55f0882da4
commit
59d93f9353
|
@ -447,6 +447,7 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
|
||||||
// y = ext_y;
|
// y = ext_y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (xrun < 1) return;
|
||||||
#ifdef WORD_CACHE
|
#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,
|
||||||
|
|
Loading…
Reference in New Issue