[PATCH] cosmetic: add an space after if

Bryce Harrington bryce at osg.samsung.com
Fri Feb 5 00:38:23 UTC 2016


On Thu, Feb 04, 2016 at 09:48:21PM +0100, Sergi Granell wrote:
> ---
>  src/wayland-shm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Hi Sergi,

Thanks, pushed both this and the other whitespace fix:

To ssh://git.freedesktop.org/git/wayland/wayland
   369b646..d335143  master -> master

 
> diff --git a/src/wayland-shm.c b/src/wayland-shm.c
> index 8e7adc9..a4343a4 100644
> --- a/src/wayland-shm.c
> +++ b/src/wayland-shm.c
> @@ -117,7 +117,7 @@ format_is_supported(struct wl_client *client, uint32_t format)
>  	default:
>  		formats = wl_display_get_additional_shm_formats(display);
>  		wl_array_for_each(p, formats)
> -			if(*p == format)
> +			if (*p == format)
>  				return true;
>  	}
>  
> -- 
> 2.7.0
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list