summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-surface.c
diff options
context:
space:
mode:
authorUnknown <kunda@scribus.net>2017-11-09 09:43:02 -0500
committerBryce Harrington <bryce@osg.samsung.com>2018-04-02 17:46:58 -0700
commit12cb59be7da83cf019933a163cef8d8b2601b7f4 (patch)
treebdc20384928124d46c56f0faaf72b6b5a991fe83 /src/cairo-xlib-surface.c
parent33a348d69809637ba7c48cc31a9f236a5b246ae0 (diff)
downloadcairo-12cb59be7da83cf019933a163cef8d8b2601b7f4.tar.gz
Cairo trivial typos
Found using `codespell -q 3 -I cairo-whitelist.txt` whereby whitelist contained: ``` amin iff lod writen ``` Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'src/cairo-xlib-surface.c')
-rw-r--r--src/cairo-xlib-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 908d76daf..bca0cc585 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -1886,7 +1886,7 @@ static cairo_bool_t valid_size (int width, int height)
/* Note: the minimum surface size allowed in the X protocol is 1x1.
* However, as we historically did not check the minimum size we
* allowed applications to lie and set the correct size later (one hopes).
- * To preserve compatability we must allow applications to use
+ * To preserve compatibility we must allow applications to use
* 0x0 surfaces.
*/
return (width >= 0 && width <= XLIB_COORD_MAX &&