[PATCH] input: Fix trailing whitspaces and indent.
Kristian Høgsberg
hoegsberg at gmail.com
Sat Sep 21 11:19:06 PDT 2013
On Tue, Sep 17, 2013 at 10:54:09AM +0100, Stefan Schmidt wrote:
> Just some cosmetics to conform to the wayland coding style.
Yeah, thanks, lets' get rid of that.
Kristian
> Signed-off-by: Stefan Schmidt <s.schmidt at samsung.com>
> ---
> src/input.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/src/input.c b/src/input.c
> index 9c30460..fb5bfee 100644
> --- a/src/input.c
> +++ b/src/input.c
> @@ -238,7 +238,7 @@ find_resource_for_surface(struct wl_list *list, struct weston_surface *surface)
>
> if (!surface->resource)
> return NULL;
> -
> +
> return wl_resource_find_for_client(list, wl_resource_get_client(surface->resource));
> }
>
> @@ -344,7 +344,7 @@ weston_keyboard_create(void)
>
> keyboard = zalloc(sizeof *keyboard);
> if (keyboard == NULL)
> - return NULL;
> + return NULL;
>
> wl_list_init(&keyboard->resource_list);
> wl_array_init(&keyboard->keys);
> @@ -1350,7 +1350,7 @@ weston_compositor_xkb_init(struct weston_compositor *ec,
> return 0;
> }
>
> -static void
> +static void
> weston_xkb_info_destroy(struct weston_xkb_info *xkb_info)
> {
> if (--xkb_info->ref_count > 0)
> @@ -1381,7 +1381,7 @@ weston_compositor_xkb_destroy(struct weston_compositor *ec)
> free((char *) ec->xkb_names.layout);
> free((char *) ec->xkb_names.variant);
> free((char *) ec->xkb_names.options);
> -
> +
> if (ec->xkb_info)
> weston_xkb_info_destroy(ec->xkb_info);
> xkb_context_unref(ec->xkb_context);
> @@ -1479,7 +1479,7 @@ weston_compositor_build_global_keymap(struct weston_compositor *ec)
> }
>
> ec->xkb_info = weston_xkb_info_create(keymap);
> - if (ec->xkb_info == NULL)
> + if (ec->xkb_info == NULL)
> return -1;
>
> return 0;
> --
> 1.7.9.5
>
> _______________________________________________
> 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