summaryrefslogtreecommitdiffstats
path: root/src/spell.c
diff options
context:
space:
mode:
authorkylo252 <59826753+kylo252@users.noreply.github.com>2022-02-16 19:24:07 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-16 19:24:07 +0000
commitae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 (patch)
tree4982335c2afa3ef8515860dabea038acbc2af406 /src/spell.c
parentd288eaad846f0e07e0141226f97d858dcf96cb78 (diff)
patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 86f5750987..81ba049772 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -67,7 +67,7 @@
#define REGION_ALL 0xff // word valid in all regions
// Result values. Lower number is accepted over higher one.
-#define SP_BANNED -1
+#define SP_BANNED (-1)
#define SP_OK 0
#define SP_RARE 1
#define SP_LOCAL 2