1
0
forked from aniani/vim

patch 9.1.0472: Inconsistencies between functions for option flags

Problem:  Inconsistencies between functions for option flags.
Solution: Consistently use "unsigned int" as return type and rename
          get_bkc_value() to get_bkc_flags() (zeertzjq).

closes: #14925

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-06-09 18:24:05 +02:00
committed by Christian Brabandt
parent 2d1d5c6c27
commit aa925eeb97
6 changed files with 12 additions and 10 deletions

View File

@@ -8364,10 +8364,10 @@ get_sidescrolloff_value(void)
}
/*
* Get the local or global value of 'backupcopy'.
* Get the local or global value of 'backupcopy' flags.
*/
unsigned int
get_bkc_value(buf_T *buf)
get_bkc_flags(buf_T *buf)
{
return buf->b_bkc_flags ? buf->b_bkc_flags : bkc_flags;
}
@@ -8386,7 +8386,7 @@ get_flp_value(buf_T *buf)
#endif
/*
* Get the local or global value of the 'virtualedit' flags.
* Get the local or global value of 'virtualedit' flags.
*/
unsigned int
get_ve_flags(void)