Commit 8f9de83f authored by Tiago Vignatti's avatar Tiago Vignatti Committed by Kristian Høgsberg
Browse files

scanner: don't print new line when no descriptions are provided

Signed-off-by: default avatarTiago Vignatti <>
parent 89965220
......@@ -661,8 +661,9 @@ emit_structs(struct wl_list *message_list, struct interface *interface)
if (mdesc) {
printf("\t * ");
desc_dump(mdesc->text, 8);
printf("\n\t */\n");
printf("\t */\n");
printf("\tvoid (*%s)(", m->name);
n = strlen(m->name) + 17;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment