signs: Change b_signcols_max -> b_signcols_valid

b_signcols_max isn't used to store the max value, it is use to
invalidate b_signcols.
This commit is contained in:
Lewis Russell
2021-04-18 11:24:06 +01:00
parent 18bfcfe77f
commit 65b0918c24
3 changed files with 16 additions and 14 deletions

View File

@@ -849,8 +849,8 @@ struct file_buffer {
// may use a different synblock_T.
sign_entry_T *b_signlist; // list of placed signs
int b_signcols_max; // cached maximum number of sign columns
int b_signcols; // last calculated number of sign columns
bool b_signcols_valid; // calculated sign columns is valid
Terminal *terminal; // Terminal instance associated with the buffer