summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_font_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_font_dir.c')
-rw-r--r--src/lib/evas/canvas/evas_font_dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_font_dir.c b/src/lib/evas/canvas/evas_font_dir.c
index 383082ea58..cbe9605ab5 100644
--- a/src/lib/evas/canvas/evas_font_dir.c
+++ b/src/lib/evas/canvas/evas_font_dir.c
@@ -491,7 +491,7 @@ evas_font_load(Evas *eo_evas, Evas_Font_Description *fdesc, const char *source,
491#endif 491#endif
492 492
493 Evas_Font_Set *font = NULL; 493 Evas_Font_Set *font = NULL;
494 Eina_List *fonts, *l; 494 Eina_List *fonts, *l, *l_next;
495 Fndat *fd; 495 Fndat *fd;
496#ifdef HAVE_FONTCONFIG 496#ifdef HAVE_FONTCONFIG
497 Fndat *found_fd = NULL; 497 Fndat *found_fd = NULL;
@@ -541,7 +541,7 @@ evas_font_load(Evas *eo_evas, Evas_Font_Description *fdesc, const char *source,
541 } 541 }
542#endif 542#endif
543 543
544 EINA_LIST_FOREACH(fonts_zero, l, fd) 544 EINA_LIST_FOREACH_SAFE(fonts_zero, l, l_next, fd)
545 { 545 {
546 if (!evas_font_desc_cmp(fdesc, fd->fdesc)) 546 if (!evas_font_desc_cmp(fdesc, fd->fdesc))
547 { 547 {