summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Olsson <martin@minimum.se>2012-07-09 18:22:05 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-07-09 18:11:06 -0400
commitdba322c1c0a7e09b4ca616c53762865921f77526 (patch)
tree8f4881afe4175f5b0058e79724972563b2b4eb55
parentfc0c2e04c50c2ba60272270d1a71ec57a42e7b5b (diff)
Fixup source comment in wayland-util.h and fix typo in TODO
-rw-r--r--TODO2
-rw-r--r--src/wayland-util.h4
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]
*