about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2023-01-08 13:09:34 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2023-01-08 13:09:37 +0000
commit81684e334d34ca315938569f3154945d0bfb05e0 (patch)
tree3e76d20231f918f0b7cc0f0bb415c73b88529d56 /Src/Zle
parent4ad99ab788caf5d64b21c7fb6ca3cbbf1c769b27 (diff)
downloadzsh-81684e334d34ca315938569f3154945d0bfb05e0.tar.gz
zsh-81684e334d34ca315938569f3154945d0bfb05e0.tar.xz
zsh-81684e334d34ca315938569f3154945d0bfb05e0.zip
unposted: In a comment, replace a C variables glob pattern with its matches, for greppability.
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_refresh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index 30b5d4447..2db5f0642 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -36,8 +36,8 @@
  * non-zero width followed by an arbitrary (but typically small)
  * number of characters that have zero width (combining characters).
  *
- * The allocated size for each array is given by ?mw_size; nmw_ind
- * is the next free element, i.e. nmwbuf[nmw_ind] will be the next
+ * The allocated size for each array is given by omw_size and nmw_size;
+ * nmw_ind is the next free element, i.e. nmwbuf[nmw_ind] will be the next
  * element to be written (we never insert into omwbuf).  We initialise
  * nmw_ind to 1 to avoid the index stored in the character looking like a
  * NULL.  This wastees a word but it's safer than messing with pointers.