aboutsummaryrefslogtreecommitdiff
path: root/shm.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-02-06 11:36:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-02-06 11:36:45 +0000
commit7999975016a57cc0a2c2e20bc55f29de32df7044 (patch)
treedbed598d15ba1f951bf653ecb04e29f8a3979725 /shm.c
parentreadme: shell integration: fix wiki link (diff)
Don't use fancy Unicode quotes, stick to ASCII
Diffstat (limited to 'shm.c')
-rw-r--r--shm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shm.c b/shm.c
index 87bd33a7..7959a84b 100644
--- a/shm.c
+++ b/shm.c
@@ -511,7 +511,7 @@ get_new_buffers(struct buffer_chain *chain, size_t count,
#endif
if (!(bufs[0] && shm_can_scroll(bufs[0]))) {
- /* We only need to keep the pool FD open if we’re going to SHM
+ /* We only need to keep the pool FD open if we're going to SHM
* scroll it */
close(pool_fd);
pool->fd = -1;
@@ -579,7 +579,7 @@ shm_get_buffer(struct buffer_chain *chain, int width, int height)
cached = buf;
else {
/* We have multiple buffers eligible for
- * reuse. Pick the “youngest” one, and mark the
+ * reuse. Pick the "youngest" one, and mark the
* other one for purging */
if (buf->public.age < cached->public.age) {
shm_unref(&cached->public);
@@ -589,8 +589,8 @@ shm_get_buffer(struct buffer_chain *chain, int width, int height)
* TODO: I think we _can_ use shm_unref()
* here...
*
- * shm_unref() may remove ‘it’, but that
- * should be safe; “our” tll_foreach() already
+ * shm_unref() may remove 'it', but that
+ * should be safe; "our" tll_foreach() already
* holds the next pointer.
*/
if (buffer_unref_no_remove_from_chain(buf))