summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/evas/src/lib/canvas/evas_font_dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_font_dir.c b/legacy/evas/src/lib/canvas/evas_font_dir.c
index 2ada50668b..4f53e5fc53 100644
--- a/legacy/evas/src/lib/canvas/evas_font_dir.c
+++ b/legacy/evas/src/lib/canvas/evas_font_dir.c
@@ -65,6 +65,9 @@ evas_font_dir_cache_free(void)
65 } 65 }
66 66
67#ifdef HAVE_FONTCONFIG 67#ifdef HAVE_FONTCONFIG
68 if (fc_init > 0)
69 {
70 fc_init--;
68/* this is bad i got a: 71/* this is bad i got a:
69 * fccache.c:512: FcCacheFini: Assertion fcCacheChains[i] == ((void *)0)' failed. 72 * fccache.c:512: FcCacheFini: Assertion fcCacheChains[i] == ((void *)0)' failed.
70 * 73 *
@@ -74,9 +77,6 @@ evas_font_dir_cache_free(void)
74 * 77 *
75 * note 04/08/2012 - this doesnt seem to cause an issue anymore? 78 * note 04/08/2012 - this doesnt seem to cause an issue anymore?
76 */ 79 */
77 if (fc_init > 0)
78 {
79 fc_init--;
80 if (fc_init == 0) FcFini(); 80 if (fc_init == 0) FcFini();
81 } 81 }
82#endif 82#endif