From 0d7d7d8f0682c90c6d4a3f8a23f2212693e8dd51 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 28 Jul 2011 12:59:36 +0000 Subject: [PATCH] Evas textblock: Fixed a bug with font_weight and font_style. Forgot to add a space when I add a new style when there wasn't one before. SVN revision: 61855 --- legacy/evas/src/lib/canvas/evas_object_textblock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legacy/evas/src/lib/canvas/evas_object_textblock.c b/legacy/evas/src/lib/canvas/evas_object_textblock.c index 779c572d84..d95135f4fc 100644 --- a/legacy/evas/src/lib/canvas/evas_object_textblock.c +++ b/legacy/evas/src/lib/canvas/evas_object_textblock.c @@ -1199,7 +1199,8 @@ _format_command_parse_font_weight_style(Evas_Object_Textblock_Format *fmt, } else { - found_start = style + 7; + found_start = style + 7; /* + 7 for :style= */ + eina_strbuf_insert_char(buf, ' ', found_start - fmt->font.name); } eina_strbuf_insert(buf, param, found_start - fmt->font.name); if (fmt->font.name) eina_stringshare_del(fmt->font.name);