aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-10 12:54:18 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-10 12:54:18 -0400
commit5ee9161f81340632892ea7e2959b600f41258552 (patch)
tree9039fe0c5d83a5e30cc2454d5f8770c01d21224b /src
parentefbf70600c3ce7cb9f707e3228b7099c46478f43 (diff)
downloadrneovim-5ee9161f81340632892ea7e2959b600f41258552.tar.gz
rneovim-5ee9161f81340632892ea7e2959b600f41258552.tar.bz2
rneovim-5ee9161f81340632892ea7e2959b600f41258552.zip
lint
Diffstat (limited to 'src')
-rw-r--r--src/nvim/spellfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c
index 9c82a92395..b96e8a5948 100644
--- a/src/nvim/spellfile.c
+++ b/src/nvim/spellfile.c
@@ -5136,13 +5136,13 @@ mkspell (
spin.si_add = true;
}
- if (incount <= 0)
+ if (incount <= 0) {
EMSG(_(e_invarg)); // need at least output and input names
- else if (vim_strchr(path_tail(wfname), '_') != NULL)
+ } else if (vim_strchr(path_tail(wfname), '_') != NULL) {
EMSG(_("E751: Output file name must not have region name"));
- else if (incount > MAXREGIONS)
+ } else if (incount > MAXREGIONS) {
EMSGN(_("E754: Only up to %ld regions supported"), MAXREGIONS);
- else {
+ } else {
// Check for overwriting before doing things that may take a lot of
// time.
if (!over_write && os_path_exists(wfname)) {