aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2024-09-12 15:26:26 +0200
committerSimon Ser <contact@emersion.fr>2025-05-20 20:49:32 +0000
commitcc06c3825f38ab069ff787311c9ec9f172579347 (patch)
tree33c1f292495d12108b61b3c5938876ce70c7d7c6
parentserver: add wl_resource_get_interface() (diff)
downloadwayland-cc06c3825f38ab069ff787311c9ec9f172579347.tar
wayland-cc06c3825f38ab069ff787311c9ec9f172579347.tar.gz
wayland-cc06c3825f38ab069ff787311c9ec9f172579347.tar.bz2
wayland-cc06c3825f38ab069ff787311c9ec9f172579347.tar.lz
wayland-cc06c3825f38ab069ff787311c9ec9f172579347.tar.xz
wayland-cc06c3825f38ab069ff787311c9ec9f172579347.tar.zst
wayland-cc06c3825f38ab069ff787311c9ec9f172579347.zip
Fix typos
Typos found with codespell and during code audit. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
-rw-r--r--cursor/xcursor.c6
-rw-r--r--doc/publican/sources/Introduction.xml2
-rw-r--r--src/wayland-server.c2
-rw-r--r--tests/connection-test.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/cursor/xcursor.c b/cursor/xcursor.c
index 0d5761f..2b6c47d 100644
--- a/cursor/xcursor.c
+++ b/cursor/xcursor.c
@@ -798,14 +798,14 @@ xcursor_load_theme_protected(const char *theme, int size,
free(xcursor_path);
}
-/** Load all the cursor of a theme
+/** Load all the cursors of a theme
*
* This function loads all the cursor images of a given theme and its
- * inherited themes. Each cursor is loaded into an struct xcursor_images object
+ * inherited themes. Each cursor is loaded into a struct xcursor_images object
* which is passed to the caller's load callback. If a cursor appears
* more than once across all the inherited themes, the load callback
* will be called multiple times, with possibly different struct xcursor_images
- * object which have the same name. The user is expected to destroy the
+ * objects which have the same name. The user is expected to destroy the
* struct xcursor_images objects passed to the callback with
* xcursor_images_destroy().
*
diff --git a/doc/publican/sources/Introduction.xml b/doc/publican/sources/Introduction.xml
index 276db2d..f2a8274 100644
--- a/doc/publican/sources/Introduction.xml
+++ b/doc/publican/sources/Introduction.xml
@@ -87,7 +87,7 @@
</para>
<para>
Overall, the philosophy of Wayland is to provide clients with a way to
- manage windows and how their contents is displayed. Rendering is left
+ manage windows and how their contents are displayed. Rendering is left
to clients, and system wide memory management interfaces are used to
pass buffer handles between clients and the compositing manager.
</para>
diff --git a/src/wayland-server.c b/src/wayland-server.c
index fb99eb2..a538519 100644
--- a/src/wayland-server.c
+++ b/src/wayland-server.c
@@ -2074,7 +2074,7 @@ wl_log_set_handler_server(wl_log_func_t handler)
* \param func The function to call to log a new protocol message
* \param user_data The user data pointer to pass to \a func
*
- * \return The protol logger object on success, NULL on failure.
+ * \return The protocol logger object on success, NULL on failure.
*
* \sa wl_protocol_logger_destroy
*
diff --git a/tests/connection-test.c b/tests/connection-test.c
index dde5d89..aed97a0 100644
--- a/tests/connection-test.c
+++ b/tests/connection-test.c
@@ -686,7 +686,7 @@ TEST(connection_marshal_big_enough)
TEST(connection_marshal_unbounded_boundary_size)
{
- /* A string of lenth 8178 requires a buffer size of exactly 2^13. */
+ /* A string of length 8178 requires a buffer size of exactly 2^13. */
struct marshal_data data;
char *big_string = malloc(8178);
assert(big_string);