summaryrefslogtreecommitdiffstats
path: root/src/bufwrite.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-09 18:24:05 +0200
committerChristian Brabandt <cb@256bit.org>2024-06-09 18:24:05 +0200
commitaa925eeb97bd294d4a5253a3194949a37cbc8365 (patch)
tree2fdbf5c016df3dd441872faa38a95060e43845aa /src/bufwrite.c
parent2d1d5c6c27b0abe7494cb07dd56a47d61ae95169 (diff)
patch 9.1.0472: Inconsistencies between functions for option flagsv9.1.0472
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>
Diffstat (limited to 'src/bufwrite.c')
-rw-r--r--src/bufwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bufwrite.c b/src/bufwrite.c
index bf79ad5bf3..c9d9875d64 100644
--- a/src/bufwrite.c
+++ b/src/bufwrite.c
@@ -690,7 +690,7 @@ buf_write(
int write_undo_file = FALSE;
context_sha256_T sha_ctx;
#endif
- unsigned int bkc = get_bkc_value(buf);
+ unsigned int bkc = get_bkc_flags(buf);
pos_T orig_start = buf->b_op_start;
pos_T orig_end = buf->b_op_end;