aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2015-03-18 18:32:54 -0700
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-03-19 16:56:17 +0200
commit439b0a38630eb3c1a088c84cc76019ad001bb99b (patch)
treee443c2146f0e8947c64b8159ebd4027b2fe6c6db /src
parentserver: give more precise error message (diff)
downloadwayland-439b0a38630eb3c1a088c84cc76019ad001bb99b.tar
wayland-439b0a38630eb3c1a088c84cc76019ad001bb99b.tar.gz
wayland-439b0a38630eb3c1a088c84cc76019ad001bb99b.tar.bz2
wayland-439b0a38630eb3c1a088c84cc76019ad001bb99b.tar.lz
wayland-439b0a38630eb3c1a088c84cc76019ad001bb99b.tar.xz
wayland-439b0a38630eb3c1a088c84cc76019ad001bb99b.tar.zst
wayland-439b0a38630eb3c1a088c84cc76019ad001bb99b.zip
Spelling fixes (cosmetic)
A few typos in comments and protocol docs, no code changes. ./src/wayland-util.h:281: recieved ==> received ./src/wayland-client.c:115: occured ==> occurred ./src/wayland-client.c:156: occured ==> occurred ./tests/test-compositor.c:76: parallely ==> parallelly ./tests/test-compositor.c:474: recieve ==> receive ./protocol/wayland.xml:1767: layed ==> laid ./protocol/wayland.xml:2112: dependant ==> dependent ./doc/publican/sources/Client.xml:25: recieved ==> received Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Bill Spitzak <spitzak@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/wayland-client.c4
-rw-r--r--src/wayland-util.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/wayland-client.c b/src/wayland-client.c
index 9adde38..ed108e1 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -112,7 +112,7 @@ static int debug_client = 0;
/**
* This helper function wakes up all threads that are
* waiting for display->reader_cond (i. e. when reading is done,
- * canceled, or an error occured)
+ * canceled, or an error occurred)
*
* NOTE: must be called with display->mutex locked
*/
@@ -153,7 +153,7 @@ display_fatal_error(struct wl_display *display, int error)
/**
* This function is called for error events
- * and indicates that in some object an error occured.
+ * and indicates that in some object an error occurred.
* Difference between this function and display_fatal_error()
* is that this one handles errors that will come by wire,
* whereas display_fatal_error() is called for local errors.
diff --git a/src/wayland-util.h b/src/wayland-util.h
index a4b22b5..2bc3ff5 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -278,7 +278,7 @@ union wl_argument {
* object on which the callback is being invoked (either wl_proxy or
* wl_resource). The third and fourth arguments are the opcode the wl_messsage
* structure corresponding to the callback being emitted. The final argument
- * is an array of arguments recieved from the other process via the wire
+ * is an array of arguments received from the other process via the wire
* protocol.
*/
typedef int (*wl_dispatcher_func_t)(const void *, void *, uint32_t,