]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0885: informational message has an error message number v9.0.0885
authorBram Moolenaar <Bram@vim.org>
Tue, 15 Nov 2022 13:57:38 +0000 (13:57 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Nov 2022 13:57:38 +0000 (13:57 +0000)
Problem:    Informational message has an error message number.
Solution:   Use a message without an error number. (closes #11530)

src/insexpand.c
src/version.c

index 36a8ab1fd2dfb72dec75b7dd6c78de1cedf7bc3e..c5d0bf286b7844d4f89aafa9936fb0e22c835c18 100644 (file)
@@ -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;
     }
 
index 3ca13a89b0d153e1575d46f9803cc081ca2db72e..61ad4c7568c3f15ba90575a862f6574f4f36fdd6 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    885,
 /**/
     884,
 /**/