commit | 4dea2d92e4c308b064ed1dd7b2ba7527a0d6b0a0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Mar 31 11:37:57 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Mar 31 11:37:57 2022 +0100 |
tree | a7be19a7aa8b4a9c4e48084639ad51db96f36db6 | |
parent | d1d2684c8006105444d249e846576c23d79ad4ee [diff] [blame] |
patch 8.2.4653: "import autoload" does not check the file name Problem: "import autoload" does not check the file name. Solution: Give an error if the file is not readable. (closes #10049)
diff --git a/src/spellfile.c b/src/spellfile.c index ad0d000..aaacb2e 100644 --- a/src/spellfile.c +++ b/src/spellfile.c
@@ -5976,7 +5976,7 @@ } if (mch_isdir(wfname)) { - semsg(_(e_src_is_directory), wfname); + semsg(_(e_str_is_directory), wfname); goto theend; }