[PATCH wayland] scanner: Fix spacing of @param

Peter Hutterer peter.hutterer at who-t.net
Fri Apr 1 01:27:33 UTC 2016


On Thu, Mar 31, 2016 at 06:55:54PM -0500, Yong Bakos wrote:
> 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>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
   Peter

> ---
>  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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 


More information about the wayland-devel mailing list