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

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
Tiago Vignatti 2012-01-24 18:30:13 +02:00 committed by Kristian Høgsberg
parent 899652201f
commit 8f9de83f7b

View file

@ -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");
}
printf("\n\t */\n");
printf("\t */\n");
printf("\tvoid (*%s)(", m->name);
n = strlen(m->name) + 17;