mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:9.1.0472: Inconsistencies between functions for option flags (#29262)
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: vim/vim#14925
aa925eeb97
This commit is contained in:
@@ -1066,7 +1066,7 @@ int buf_write(buf_T *buf, char *fname, char *sfname, linenr_T start, linenr_T en
|
||||
bool whole = (start == 1 && end == buf->b_ml.ml_line_count);
|
||||
bool write_undo_file = false;
|
||||
context_sha256_T sha_ctx;
|
||||
unsigned bkc = get_bkc_value(buf);
|
||||
unsigned bkc = get_bkc_flags(buf);
|
||||
|
||||
if (fname == NULL || *fname == NUL) { // safety check
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user