From fd335ae07e91ac1ef65700a28add745f2ff312bb Mon Sep 17 00:00:00 2001 From: tasn 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. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61855 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_object_textblock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index 779c572..d95135f 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/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); -- 2.7.4