mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-23 12:41:29 +02: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
2 changed files with 6 additions and 1 deletions
|
@ -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