aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellfile.c
diff options
context:
space:
mode:
authorBrian Leung <leungbk@posteo.net>2022-04-03 02:36:01 -0700
committerBrian Leung <leungbk@posteo.net>2022-04-03 16:11:23 -0700
commit69e11b58b4db0952f11a5ff85aa7150b5f5b8db8 (patch)
tree2c10f1348a50480eacf10a003c49e6f16a5f8049 /src/nvim/spellfile.c
parent271bb32855853b011fceaf0ad2f829bce66b2a19 (diff)
downloadrneovim-69e11b58b4db0952f11a5ff85aa7150b5f5b8db8.tar.gz
rneovim-69e11b58b4db0952f11a5ff85aa7150b5f5b8db8.tar.bz2
rneovim-69e11b58b4db0952f11a5ff85aa7150b5f5b8db8.zip
vim-patch:8.2.4402: missing parenthesis may cause unexpected problems
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. https://github.com/vim/vim/commit/ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83
Diffstat (limited to 'src/nvim/spellfile.c')
-rw-r--r--src/nvim/spellfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c
index 07058b34fd..3d3e6e728c 100644
--- a/src/nvim/spellfile.c
+++ b/src/nvim/spellfile.c
@@ -1850,7 +1850,7 @@ static void spell_reload_one(char_u *fname, bool added_word)
// In the postponed prefixes tree wn_flags is used to store the WFP_ flags,
// but it must be negative to indicate the prefix tree to tree_add_word().
// Use a negative number with the lower 8 bits zero.
-#define PFX_FLAGS -256
+#define PFX_FLAGS (-256)
// flags for "condit" argument of store_aff_word()
#define CONDIT_COMB 1 // affix must combine