summaryrefslogtreecommitdiff
path: root/src/bin/eolian/headers.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-10-14 15:31:23 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-10-14 15:31:49 +0200
commit2515556673d9ce4bb811b60ce19eee03e8499d6b (patch)
tree14f0a75691209f1fc1d23c3088c711a78665ff1c /src/bin/eolian/headers.c
parent7af39bc4479650fbc705d57bba32826bfa2bb2ec (diff)
eolian gen: better checks for whether to add space after type
Diffstat (limited to 'src/bin/eolian/headers.c')
-rw-r--r--src/bin/eolian/headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/headers.c b/src/bin/eolian/headers.c
index febc11a..3a04572 100644
--- a/src/bin/eolian/headers.c
+++ b/src/bin/eolian/headers.c
@@ -131,7 +131,7 @@ _gen_func(const Eolian_Function *fid, Eolian_Function_Type ftype,
131 if (!first) 131 if (!first)
132 eina_strbuf_append(buf, ", "); 132 eina_strbuf_append(buf, ", ");
133 eina_strbuf_append(buf, prtn); 133 eina_strbuf_append(buf, prtn);
134 if (!strchr(prtn, '*')) 134 if (prtn[strlen(prtn) - 1] != '*')
135 eina_strbuf_append_char(buf, ' '); 135 eina_strbuf_append_char(buf, ' ');
136 eina_strbuf_append(buf, 136 eina_strbuf_append(buf,
137 _get_add_star(ftype, eolian_parameter_direction_get(pr))); 137 _get_add_star(ftype, eolian_parameter_direction_get(pr)));