1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-05-21 12:01:54 +02:00

unposted: In a comment, replace a C variables glob pattern with its matches, for greppability.

This commit is contained in:
Daniel Shahaf 2023-01-08 13:09:34 +00:00
parent 4ad99ab788
commit 81684e334d
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2023-01-08 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/Zle/zle_refresh.c: In a comment, replace a C
variables glob pattern with its matches, for greppability.
2023-01-06 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted (cf. users/28616):

View file

@ -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.