diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-03-10 02:02:40 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-10 05:55:59 -0300 |
commit | 3cac32e49c7fae9cf5963d35f3fd3052c061b2fa (patch) | |
tree | b62282c3caa75fefd33d63d272893a0cdbc92fb0 /src/search.c | |
parent | 1684bec63571583f14065cfb614153df125b97e8 (diff) | |
download | rneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.tar.gz rneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.tar.bz2 rneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.zip |
Remove CURSOR_SHAPE #ifdef tests
See issue #333
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/search.c b/src/search.c index 1cec595e25..0bf3e8645e 100644 --- a/src/search.c +++ b/src/search.c @@ -2000,9 +2000,7 @@ showmatch ( colnr_T vcol; long save_so; long save_siso; -#ifdef CURSOR_SHAPE int save_state; -#endif colnr_T save_dollar_vcol; char_u *p; @@ -2042,11 +2040,9 @@ showmatch ( update_screen(VALID); /* show the new char first */ save_dollar_vcol = dollar_vcol; -#ifdef CURSOR_SHAPE save_state = State; State = SHOWMATCH; ui_cursor_shape(); /* may show different cursor shape */ -#endif curwin->w_cursor = mpos; /* move to matching char */ p_so = 0; /* don't use 'scrolloff' here */ p_siso = 0; /* don't use 'sidescrolloff' here */ @@ -2070,10 +2066,8 @@ showmatch ( curwin->w_cursor = save_cursor; /* restore cursor position */ p_so = save_so; p_siso = save_siso; -#ifdef CURSOR_SHAPE State = save_state; ui_cursor_shape(); /* may show different cursor shape */ -#endif } } } |