]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0254: typo in function name v9.0.0254
authorzeertzjq <zeertzjq@outlook.com>
Wed, 24 Aug 2022 15:48:23 +0000 (16:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 24 Aug 2022 15:48:23 +0000 (16:48 +0100)
Problem:    Typo in function name.
Solution:   Rename the function. (closes #10971)

src/insexpand.c
src/version.c

index fc3eff071341a5dfc903ea90d1a6ee739f398b9f..1ff1c99b7e9303551a799b4610210ff4b292e6e6 100644 (file)
@@ -1495,7 +1495,7 @@ theend:
  * skipping the word at 'skip_word'.  Returns OK on success.
  */
     static int
-thesarurs_add_words_in_line(
+thesaurus_add_words_in_line(
        char_u  *fname,
        char_u  **buf_arg,
        int     dir,
@@ -1598,7 +1598,7 @@ ins_compl_files(
                {
                    // For a thesaurus, add all the words in the line
                    ptr = buf;
-                   add_r = thesarurs_add_words_in_line(files[i], &ptr, *dir,
+                   add_r = thesaurus_add_words_in_line(files[i], &ptr, *dir,
                                                        regmatch->startp[0]);
                }
                if (add_r == OK)
@@ -2083,7 +2083,7 @@ set_ctrl_x_mode(int c)
            ctrl_x_mode = CTRL_X_FILES;
            break;
        case Ctrl_K:
-           // complete words from a dictinoary
+           // complete words from a dictionary
            ctrl_x_mode = CTRL_X_DICTIONARY;
            break;
        case Ctrl_R:
index 48b75dce1f1df8db4512f0791138b017927155b1..a4787e4414d9d25322a98a74a12a58b6036767ea 100644 (file)
@@ -731,6 +731,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    254,
 /**/
     253,
 /**/