summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
commit23e83724df4809fd7857cc609c33ce7e8d3021a4 (patch)
treec3018d5ce5c474883b9a31aca33962d73a540bd8 /exa
parentb0413b6e99c6b5fbc04229ce64ddf1f41b08e63e (diff)
Fix spelling/wording issues
Most (but not all) of these were found by using codespell --builtin clear,rare,usage,informal,code,names but not everything reported by that was fixed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'exa')
-rw-r--r--exa/exa.c2
-rw-r--r--exa/exa.h2
-rw-r--r--exa/exa_offscreen.c2
-rw-r--r--exa/exa_priv.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/exa/exa.c b/exa/exa.c
index d6ff19796..b16875845 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -497,7 +497,7 @@ static void
exaValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
{
/* fbValidateGC will do direct access to pixmaps if the tiling has changed.
- * Do a few smart things so fbValidateGC can do it's work.
+ * Do a few smart things so fbValidateGC can do its work.
*/
ScreenPtr pScreen = pDrawable->pScreen;
diff --git a/exa/exa.h b/exa/exa.h
index 949ea3ac0..288d9ac66 100644
--- a/exa/exa.h
+++ b/exa/exa.h
@@ -140,7 +140,7 @@ typedef struct _ExaDriver {
/**
* The flags field is bitfield of boolean values controlling EXA's behavior.
*
- * The flags in clude EXA_OFFSCREEN_PIXMAPS, EXA_OFFSCREEN_ALIGN_POT, and
+ * The flags include EXA_OFFSCREEN_PIXMAPS, EXA_OFFSCREEN_ALIGN_POT, and
* EXA_TWO_BITBLT_DIRECTIONS.
*/
int flags;
diff --git a/exa/exa_offscreen.c b/exa/exa_offscreen.c
index 174d4456a..c77e36261 100644
--- a/exa/exa_offscreen.c
+++ b/exa/exa_offscreen.c
@@ -150,7 +150,7 @@ exaFindAreaToEvict(ExaScreenPrivPtr pExaScr, int size, int align)
* @param privdata private data for the save callback.
*
* Allocates offscreen memory from the device associated with pScreen. size
- * and align deteremine where and how large the allocated area is, and locked
+ * and align determine where and how large the allocated area is, and locked
* will mark whether it should be held in card memory. privdata may be any
* pointer for the save callback when the area is removed.
*
diff --git a/exa/exa_priv.h b/exa/exa_priv.h
index 912e21478..8414bd857 100644
--- a/exa/exa_priv.h
+++ b/exa/exa_priv.h
@@ -119,7 +119,7 @@ typedef struct {
/* Hash table mapping from glyph sha1 to position in the glyph; we use
* open addressing with a hash table size determined based on size and large
* enough so that we always have a good amount of free space, so we can
- * use linear probing. (Linear probing is preferrable to double hashing
+ * use linear probing. (Linear probing is preferable to double hashing
* here because it allows us to easily remove entries.)
*/
int *hashEntries;
@@ -130,7 +130,7 @@ typedef struct {
PicturePtr picture; /* Where the glyphs of the cache are stored */
int yOffset; /* y location within the picture where the cache starts */
- int columns; /* Number of columns the glyphs are layed out in */
+ int columns; /* Number of columns the glyphs are laid out in */
int evictionPosition; /* Next random position to evict a glyph */
} ExaGlyphCacheRec, *ExaGlyphCachePtr;