[PATCH] Fixup source comment in wayland-util.h and fix typo in TODO
Martin Olsson
martin at minimum.se
Mon Jul 9 09:22:05 PDT 2012
---
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
More information about the wayland-devel
mailing list