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
This commit is contained in:
Tom Hacohen 2011-07-28 12:59:36 +00:00
parent 43618428b4
commit 0d7d7d8f06
1 changed files with 2 additions and 1 deletions

View File

@ -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);