summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-10 15:09:49 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-10 15:09:49 +0200
commitb9464821901623f983528acaed9e4dc2cea7387b (patch)
tree74cfb66ecf3f3e81ed60168c3ca4d7ecd01c4505
parent9289df5ca9546bda0e0046a45ceb66c6bb7a838f (diff)
downloadvim-git-8.0.1809.tar.gz
patch 8.0.1809: various typosv8.0.1809
Problem: Various typos. Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887)
-rw-r--r--src/edit.c2
-rw-r--r--src/normal.c4
-rw-r--r--src/proto/screen.pro2
-rw-r--r--src/screen.c2
-rw-r--r--src/ui.c2
-rw-r--r--src/version.c2
6 files changed, 8 insertions, 6 deletions
diff --git a/src/edit.c b/src/edit.c
index 9b7206410..ef4c98d29 100644
--- 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
diff --git a/src/normal.c b/src/normal.c
index be0e75e7e..3b958a5b5 100644
--- 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)
diff --git a/src/proto/screen.pro b/src/proto/screen.pro
index f04fda51e..f690f93d6 100644
--- a/src/proto/screen.pro
+++ b/src/proto/screen.pro
@@ -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);
diff --git a/src/screen.c b/src/screen.c
index cff6ae5d3..cac5a3a1f 100644
--- 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))
{
diff --git a/src/ui.c b/src/ui.c
index bb038801a..05e82e6c7 100644
--- 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
}
diff --git a/src/version.c b/src/version.c
index db47bea9e..b71b384f1 100644
--- 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,