summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Kroitor <an.kroitor@samsung.com>2014-06-26 19:34:35 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-06-26 19:35:56 +0900
commit0c72d75051a81a23442c92fa299fc3d748c63c88 (patch)
treeb5e49dbd9826b3401b3c5ca71d8e4b7da16062fb
parent5ade5ca4332aa51fdc1e179d3a5c24fe2574f76e (diff)
downloadefl-0c72d75051a81a23442c92fa299fc3d748c63c88.tar.gz
edje: textblock style loading changed
Summary: Keeping "font=", "font_size=" and "text_class" in tag->value fixes style loading issues (after saving edj file with edje_edit_save method). Reviewers: cedric, raster, seoz, Hermet, tasn CC: reutskiy.v.v, cedric Differential Revision: https://phab.enlightenment.org/D940 @fix
-rw-r--r--src/lib/edje/edje_textblock_styles.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/lib/edje/edje_textblock_styles.c b/src/lib/edje/edje_textblock_styles.c
index d174e4d1eb..5d423f74cf 100644
--- a/src/lib/edje/edje_textblock_styles.c
+++ b/src/lib/edje/edje_textblock_styles.c
@@ -125,16 +125,13 @@ _edje_format_reparse(Edje_File *edf, const char *str, Edje_Style_Tag **tag_ret)
}
}
}
- else /* Otherwise add to tag buffer */
- {
- s2 = eina_str_escape(item);
- if (s2)
- {
- if (eina_strbuf_length_get(txt)) eina_strbuf_append(txt, " ");
- eina_strbuf_append(txt, s2);
- free(s2);
- }
- }
+ s2 = eina_str_escape(item);
+ if (s2)
+ {
+ if (eina_strbuf_length_get(txt)) eina_strbuf_append(txt, " ");
+ eina_strbuf_append(txt, s2);
+ free(s2);
+ }
free(key);
free(val);
}