[PATCH wayland] scanner: Fix spacing of @param

Yong Bakos junk at humanoriented.com
Thu Mar 31 23:55:54 UTC 2016


From: Yong Bakos <ybakos at humanoriented.com>

Adds one space to the @param lines in generated .h files,
aligning the indentation with the rest of the comment block.

Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
---
 src/scanner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/scanner.c b/src/scanner.c
index a895f92..65df3ae 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -1148,7 +1148,7 @@ emit_event_wrappers(struct wl_list *message_list, struct interface *interface)
 		       " * Sends an %s event to the client owning the resource.\n",
 		       interface->name,
 		       m->name);
-		printf("* @param resource_ The client's resource\n");
+		printf(" * @param resource_ The client's resource\n");
 		wl_list_for_each(a, &m->arg_list, link) {
 			if (a->summary)
 				printf(" * @param %s %s\n", a->name, a->summary);
-- 
2.7.2



More information about the wayland-devel mailing list