mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
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:
parent
899652201f
commit
8f9de83f7b
1 changed files with 2 additions and 1 deletions
|
|
@ -661,8 +661,9 @@ emit_structs(struct wl_list *message_list, struct interface *interface)
|
||||||
if (mdesc) {
|
if (mdesc) {
|
||||||
printf("\t * ");
|
printf("\t * ");
|
||||||
desc_dump(mdesc->text, 8);
|
desc_dump(mdesc->text, 8);
|
||||||
|
printf("\n");
|
||||||
}
|
}
|
||||||
printf("\n\t */\n");
|
printf("\t */\n");
|
||||||
printf("\tvoid (*%s)(", m->name);
|
printf("\tvoid (*%s)(", m->name);
|
||||||
|
|
||||||
n = strlen(m->name) + 17;
|
n = strlen(m->name) + 17;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue