mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
Fix typos
Typos found with codespell and during code audit. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
parent
8cad6f7b82
commit
cc06c3825f
4 changed files with 6 additions and 6 deletions
|
|
@ -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().
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue