[PATCH] Fixup source comment in wayland-util.h and fix typo in TODO

Kristian Høgsberg hoegsberg at gmail.com
Mon Jul 9 15:11:20 PDT 2012


On Mon, Jul 09, 2012 at 06:22:05PM +0200, Martin Olsson wrote:

Thanks, committed.

Kristian

>  TODO               |    2 +-
>  src/wayland-util.h |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/TODO b/TODO
> index b0c4fb3..677782d 100644
> --- a/TODO
> +++ b/TODO
> @@ -19,7 +19,7 @@ Core wayland protocol
>     bigger atomic change.  To be researched a bit.
>  
>   - Maybe try to make remote wayland actually happen, to see if there
> -   is something in the protocol/architecute that makes it harder than
> +   is something in the protocol/architecture that makes it harder than
>     it should be.
>  
>   - Add timestamp to touch_cancel, add touch id to touch_cancel (?)
> diff --git a/src/wayland-util.h b/src/wayland-util.h
> index 8447640..b588505 100644
> --- a/src/wayland-util.h
> +++ b/src/wayland-util.h
> @@ -77,7 +77,7 @@ struct wl_object {
>   * empty in O(1), use wl_list_empty().
>   *
>   * Let's call the list reference "struct wl_list foo_list", the item type as
> - * "item_t", and the item member as "struct wl_list link". The following code
> + * "item_t", and the item member as "struct wl_list link".
>   *
>   * The following code will initialize a list:
>   *
> @@ -92,7 +92,7 @@ struct wl_object {
>   *	wl_list_init(&foo_list);
>   *	wl_list_insert(&foo_list, &item1.link);	Pushes item1 at the head
>   *	wl_list_insert(&foo_list, &item2.link);	Pushes item2 at the head
> - *	wl_list_insert(&item2.link, &item3.link);Pushes item3 after item2
> + *	wl_list_insert(&item2.link, &item3.link); Pushes item3 after item2
>   *
>   * The list now looks like [item2, item3, item1]
>   *
> -- 
> 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