[PATCH] client: Fix source comment typos

Martin Olsson martin at minimum.se
Sat Oct 20 05:00:28 PDT 2012


---
 src/wayland-client.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wayland-client.c b/src/wayland-client.c
index 7e50b40..28fe127 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -732,7 +732,7 @@ dispatch_event(struct wl_display *display, struct wl_event_queue *queue)
 
 	/* Verify that the receiving object is still valid and look up
 	 * proxies for any arguments.  We have to do this just before
-	 * calling the handler, since preceeding events may have
+	 * calling the handler, since preceding events may have
 	 * destroyed either the proxy or the proxy args since the
 	 * event was queued. */
 	proxy = wl_map_lookup(&display->objects, id);
@@ -914,12 +914,12 @@ wl_display_dispatch_pending(struct wl_display *display)
 	return dispatch_queue(display, &display->queue, 0);
 }
 
-/** Retrieve the last error occured on a display
+/** Retrieve the last error occurred on a display
  *
  * \param display The display context object
- * \return The last error occured on \c display or 0 if no error occured
+ * \return The last error occurred on \c display or 0 if no error occurred
  *
- * Return the last error occured on the display. This may be an error sent
+ * Return the last error occurred on the display. This may be an error sent
  * by the server or caused by the local client.
  *
  * \note Errors are \b fatal. If this function returns non-zero the display
-- 
1.7.9.5



More information about the wayland-devel mailing list