Eolian/Generator: Fix comments generation in headers.

Trailing whitespaces were added in description empty lines.
This commit is contained in:
Daniel Zaoui 2014-03-05 10:04:25 +02:00
parent 46f6ef0ccc
commit 232a3cf5fc
2 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,7 @@ eo1_fundef_generate(const char *classname, Eolian_Function func, Eolian_Function
if (eina_strbuf_length_get(linedesc))
{
eina_strbuf_replace_all(linedesc, "\n", "\n * ");
eina_strbuf_replace_all(linedesc, " * \n", " *\n");
eina_strbuf_prepend(linedesc, " * ");
}
else

View File

@ -87,6 +87,7 @@ _eapi_decl_func_generate(const char *classname, Eolian_Function funcid, Eolian_F
if (eina_strbuf_length_get(linedesc))
{
eina_strbuf_replace_all(linedesc, "\n", "\n * ");
eina_strbuf_replace_all(linedesc, " * \n", " *\n");
eina_strbuf_prepend(linedesc," * ");
}
else