forked from enlightenment/efl
Eolian/Generator: Fix comments generation in headers.
Trailing whitespaces were added in description empty lines.
This commit is contained in:
parent
46f6ef0ccc
commit
232a3cf5fc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue