patch 8.0.1809: various typos v8.0.1809
authorBram Moolenaar <Bram@vim.org>
Thu, 10 May 2018 13:09:49 +0000 (15:09 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 10 May 2018 13:09:49 +0000 (15:09 +0200)
Problem:    Various typos.
Solution:   Correct the mistakes, change "cursur" to "cursor". (closes #2887)

src/edit.c
src/normal.c
src/proto/screen.pro
src/screen.c
src/ui.c
src/version.c

index 9b7206410ec674ecf1cb0442273f05d477a77361..ef4c98d29be131f0df90e788090c1de26eb06744 100644 (file)
@@ -431,7 +431,7 @@ edit(
 #ifdef FEAT_CONCEAL
     /* Check if the cursor line needs redrawing before changing State.  If
      * 'concealcursor' is "n" it needs to be redrawn without concealing. */
-    conceal_check_cursur_line();
+    conceal_check_cursor_line();
 #endif
 
 #ifdef FEAT_MOUSE
index be0e75e7e3bb18766a9991e8a4e122233d4f76a1..3b958a5b59abd81d9a8938ac9afb8fd1397941e2 100644 (file)
@@ -7797,7 +7797,7 @@ n_start_visual_mode(int c)
 {
 #ifdef FEAT_CONCEAL
     /* Check for redraw before changing the state. */
-    conceal_check_cursur_line();
+    conceal_check_cursor_line();
 #endif
 
     VIsual_mode = c;
@@ -7824,7 +7824,7 @@ n_start_visual_mode(int c)
 #endif
 #ifdef FEAT_CONCEAL
     /* Check for redraw after changing the state. */
-    conceal_check_cursur_line();
+    conceal_check_cursor_line();
 #endif
 
     if (p_smd && msg_silent == 0)
index f04fda51e40a99c0647bd4ffa4d1c47b9fd8e5bb..f690f93d62328a070d913525b0738e2b6c88822b 100644 (file)
@@ -12,7 +12,7 @@ void redrawWinline(linenr_T lnum, int invalid);
 void update_curbuf(int type);
 int update_screen(int type_arg);
 int conceal_cursor_line(win_T *wp);
-void conceal_check_cursur_line(void);
+void conceal_check_cursor_line(void);
 void update_single_line(win_T *wp, linenr_T lnum);
 void update_debug_sign(buf_T *buf, linenr_T lnum);
 void updateWindow(win_T *wp);
index cff6ae5d3dcb6fc31093717554da5c9c48da4ff3..cac5a3a1f8685fa5a026c9628efec56f37702a3d 100644 (file)
@@ -906,7 +906,7 @@ conceal_cursor_line(win_T *wp)
  * Check if the cursor line needs to be redrawn because of 'concealcursor'.
  */
     void
-conceal_check_cursur_line(void)
+conceal_check_cursor_line(void)
 {
     if (curwin->w_p_cole > 0 && conceal_cursor_line(curwin))
     {
index bb038801aca6229e1719eb17cfea2056355fc520..05e82e6c7438d43931550ba672957e91769add09 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -1971,7 +1971,7 @@ ui_cursor_shape_forced(int forced)
 # endif
 
 # ifdef FEAT_CONCEAL
-    conceal_check_cursur_line();
+    conceal_check_cursor_line();
 # endif
 }
 
index db47bea9eb2e690c1e7bf67bc2dff0207b33422c..b71b384f1b971d83353414c44672022452b9bc72 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1809,
 /**/
     1808,
 /**/