diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-15 13:57:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-15 13:57:38 +0000 |
commit | b53a190e9f8a767bbd4be2f538649a09f9c8ba4b (patch) | |
tree | 6327d84ed74f4d6eb15c92a487559e98f15279c6 | |
parent | cdeb65729d96c90320b9009e583ade305c396f29 (diff) | |
download | vim-git-b53a190e9f8a767bbd4be2f538649a09f9c8ba4b.tar.gz |
patch 9.0.0885: informational message has an error message numberv9.0.0885
Problem: Informational message has an error message number.
Solution: Use a message without an error number. (closes #11530)
-rw-r--r-- | src/insexpand.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index 36a8ab1fd..c5d0bf286 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -123,8 +123,6 @@ struct compl_S # define CP_ICASE 16 // ins_compl_equal() ignores case # define CP_FAST 32 // use fast_breakcheck instead of ui_breakcheck -static char e_hitend[] = N_("Hit end of paragraph"); - /* * All the current matches are stored in a list. * "compl_first_match" points to the start of the list. @@ -4910,8 +4908,8 @@ ins_compl_show_statusmsg(void) if (is_first_match(compl_first_match->cp_next)) { edit_submode_extra = compl_status_adding() && compl_length > 1 - ? (char_u *)_(e_hitend) - : (char_u *)_(e_pattern_not_found); + ? (char_u *)_("Hit end of paragraph") + : (char_u *)_("Pattern not found"); edit_submode_highl = HLF_E; } diff --git a/src/version.c b/src/version.c index 3ca13a89b..61ad4c756 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 885, +/**/ 884, /**/ 883, |