aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/move.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-03 11:06:27 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-04 15:25:54 +0200
commit5576d30e89153c817fb1a8d23c30cfc0432bc7c6 (patch)
tree3a1457be276d95ffccbb760e79c708ab11b2cd54 /src/nvim/move.c
parent3ec93ca92cb08faed342586e86a6f21b35264376 (diff)
downloadrneovim-5576d30e89153c817fb1a8d23c30cfc0432bc7c6.tar.gz
rneovim-5576d30e89153c817fb1a8d23c30cfc0432bc7c6.tar.bz2
rneovim-5576d30e89153c817fb1a8d23c30cfc0432bc7c6.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r--src/nvim/move.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c
index 49fa7bbf7f..11feb497ea 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -801,9 +801,9 @@ void curs_columns(win_T *wp, int may_scroll)
// When cursor wraps to first char of next line in Insert
// mode, the 'showbreak' string isn't shown, backup to first
// column
- char_u *const sbr = get_showbreak_value(wp);
+ char *const sbr = (char *)get_showbreak_value(wp);
if (*sbr && *get_cursor_pos_ptr() == NUL
- && wp->w_wcol == vim_strsize(sbr)) {
+ && wp->w_wcol == vim_strsize((char_u *)sbr)) {
wp->w_wcol = 0;
}
}