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:
committed by
Christian Brabandt
parent
2d1d5c6c27
commit
aa925eeb97
@@ -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)
|
||||
|
Reference in New Issue
Block a user