mirror of
https://github.com/zsh-users/zsh
synced 2024-09-30 05:06:09 +00:00
51491: Check should use zlemetacs instead of zlecs
Coverity noticed that this first branch of the if statement has "meta" added to all the variable names except this zlecs at the end, so change it to match.
This commit is contained in:
parent
b3980ecc58
commit
86a5278f9f
|
@ -1,3 +1,8 @@
|
|||
2023-02-28 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 51491: Src/Zle/zle_utils.c: Check should use zlemetacs instead
|
||||
of zlecs
|
||||
|
||||
2023-02-26 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 51464: Util/printdefines: utility to interpret zsh.h constants
|
||||
|
|
|
@ -799,7 +799,7 @@ spaceinline(int ct)
|
|||
if (rhp->start_meta - sub >= zlemetacs) {
|
||||
rhp->start_meta += ct;
|
||||
}
|
||||
if (rhp->end_meta - sub >= zlemetacs && (!predisplaylen || zlecs)) {
|
||||
if (rhp->end_meta - sub >= zlemetacs && (!predisplaylen || zlemetacs)) {
|
||||
rhp->end_meta += ct;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue