aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-15 17:40:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-15 17:40:15 +0000
commit931595bda573588d8529565869aafa3574179011 (patch)
tree4ecd29787c543a05dc694a56cd11fc692120625c
parentshm: auto-purge when we have multiple buffers eligible for re-use (diff)
shm: codespell
-rw-r--r--shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shm.c b/shm.c
index 064d52ec..14d14d02 100644
--- a/shm.c
+++ b/shm.c
@@ -495,7 +495,7 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, unsigned long cookie,
xassert(it->item.pix_instances == pix_instances);
cached = &it->item;
} else {
- /* We have multiple buffers eligable for
+ /* We have multiple buffers eligible for
* re-use. Pick the “youngest” one, and mark the
* other one for purging */
if (it->item.age < cached->age) {