From: tasn Date: Thu, 28 Jul 2011 12:59:36 +0000 (+0000) Subject: Evas textblock: Fixed a bug with font_weight and font_style. X-Git-Tag: accepted/2.0/20130306.225542~242^2~195 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd335ae07e91ac1ef65700a28add745f2ff312bb;p=profile%2Fivi%2Fevas.git 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 --- 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);