summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@profusion.mobi>2012-12-21 21:11:23 +0000
committerLeandro Pereira <leandro@profusion.mobi>2012-12-21 21:11:23 +0000
commitfb97c82882a46225886204109880cac4f8704340 (patch)
tree251705597c14ccddca30b9a0efd88a176253b1ba /src/bin
parentda061849b0e00a50d4796f9a8a4fd46f2a2b9489 (diff)
downloadefl-fb97c82882a46225886204109880cac4f8704340.tar.gz
efl/cserve2: Fix some bugs regarding fonts
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi> SVN revision: 81582
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/evas/evas_cserve2_cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/evas/evas_cserve2_cache.c b/src/bin/evas/evas_cserve2_cache.c
index a969b94f18..2264d09f23 100644
--- a/src/bin/evas/evas_cserve2_cache.c
+++ b/src/bin/evas/evas_cserve2_cache.c
@@ -991,10 +991,10 @@ _entry_free_cb(void *data)
static void
_font_entry_reference_del(Client *client, Font_Entry *fe)
{
- Eina_List *l;
+ Eina_List *l, *l_next;
Reference *ref;
- EINA_LIST_FOREACH(client->fonts.referencing, l, ref)
+ EINA_LIST_FOREACH_SAFE(client->fonts.referencing, l, l_next, ref)
{
if (ref->entry == (Entry *)fe)
{
@@ -1203,12 +1203,12 @@ _font_load_request_response(Font_Entry *fe, Slave_Msg_Font_Loaded *msg, int *siz
static void
_font_load_request_failed(Font_Entry *fe, Error_Type error EINA_UNUSED)
{
- Eina_List *l;
+ Eina_List *l, *l_next;
Reference *ref;
if (fe->base.request) fe->base.request = NULL;
- EINA_LIST_FOREACH(fe->base.references, l, ref)
+ EINA_LIST_FOREACH_SAFE(fe->base.references, l, l_next, ref)
_font_entry_reference_del(ref->client, fe);
}