Mercurial > vim
comparison src/spellfile.c @ 26883:7f150a4936f2 v8.2.3970
patch 8.2.3970: error messages are spread out
Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 15:58:22 2022 +0000
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 17:00:04 +0100 |
parents | 06a137af96f8 |
children | d92e0d85923f |
comparison
equal
deleted
inserted
replaced
26882:196f4d7e2a38 | 26883:7f150a4936f2 |
---|---|
6212 new_spf = TRUE; | 6212 new_spf = TRUE; |
6213 } | 6213 } |
6214 | 6214 |
6215 if (*curwin->w_s->b_p_spf == NUL) | 6215 if (*curwin->w_s->b_p_spf == NUL) |
6216 { | 6216 { |
6217 semsg(_(e_notset), "spellfile"); | 6217 semsg(_(e_option_str_is_not_set), "spellfile"); |
6218 return; | 6218 return; |
6219 } | 6219 } |
6220 fnamebuf = alloc(MAXPATHL); | 6220 fnamebuf = alloc(MAXPATHL); |
6221 if (fnamebuf == NULL) | 6221 if (fnamebuf == NULL) |
6222 return; | 6222 return; |