diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-06-10 06:37:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 06:37:56 +0800 |
| commit | a056cc1300ef062d4f757873a647b20b8331ab03 (patch) | |
| tree | 12a3c6910d31df9968a973a1b6331851c69780b6 /src/nvim/bufwrite.c | |
| parent | 2f752d6ad4f6900fdddc5fd5f1b5066f9a6ed300 (diff) | |
| download | rneovim-a056cc1300ef062d4f757873a647b20b8331ab03.tar.gz rneovim-a056cc1300ef062d4f757873a647b20b8331ab03.tar.bz2 rneovim-a056cc1300ef062d4f757873a647b20b8331ab03.zip | |
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
https://github.com/vim/vim/commit/aa925eeb97bd294d4a5253a3194949a37cbc8365
Diffstat (limited to 'src/nvim/bufwrite.c')
| -rw-r--r-- | src/nvim/bufwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/bufwrite.c b/src/nvim/bufwrite.c index 6fbcb2dbb8..5522ab1ca3 100644 --- a/src/nvim/bufwrite.c +++ b/src/nvim/bufwrite.c @@ -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; |