From 5ee9161f81340632892ea7e2959b600f41258552 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 10 Aug 2018 12:54:18 -0400 Subject: lint --- src/nvim/spellfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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)) { -- cgit