changeset 13876:156ebdcb8ef5 v8.0.1809

patch 8.0.1809: various typos commit https://github.com/vim/vim/commit/b9464821901623f983528acaed9e4dc2cea7387b Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 10 15:09:49 2018 +0200 patch 8.0.1809: various typos Problem: Various typos. Solution: Correct the mistakes, change "cursur" to "cursor". (closes https://github.com/vim/vim/issues/2887)
author Christian Brabandt <cb@256bit.org>
date Thu, 10 May 2018 15:15:04 +0200
parents a5ac84b6339e
children aee4384c0938
files src/edit.c src/normal.c src/proto/screen.pro src/screen.c src/ui.c src/version.c
diffstat 6 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -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
--- a/src/normal.c
+++ b/src/normal.c
@@ -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)
--- a/src/proto/screen.pro
+++ b/src/proto/screen.pro
@@ -12,7 +12,7 @@ void redrawWinline(linenr_T lnum, int in
 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);
--- a/src/screen.c
+++ b/src/screen.c
@@ -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))
     {
--- 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
 }
 
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1809,
+/**/
     1808,
 /**/
     1807,