diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-02 20:20:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-02 20:20:09 +0200 |
commit | b2c0350c67736b0e054718fb5bf136147ee2261e (patch) | |
tree | a1b4a9651813cbb1d8cb1b2362760f5c54e47976 /src/search.c | |
parent | 730cde924cea50977bdbfa5b977180bfaa188a27 (diff) | |
download | vim-b2c0350c67736b0e054718fb5bf136147ee2261e.zip |
Make updating text for conceal mode simpler. A few compiler warning fixes.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/search.c b/src/search.c index 76ba6607e..3ad9140c1 100644 --- a/src/search.c +++ b/src/search.c @@ -1077,9 +1077,6 @@ do_search(oap, dirc, pat, count, options, tm) char_u *dircp; char_u *strcopy = NULL; char_u *ps; -#ifdef FEAT_CONCEAL - linenr_T oldline = curwin->w_cursor.lnum; -#endif /* * A line offset is not remembered, this is vi compatible. @@ -1425,13 +1422,6 @@ do_search(oap, dirc, pat, count, options, tm) setpcmark(); curwin->w_cursor = pos; curwin->w_set_curswant = TRUE; -#ifdef FEAT_CONCEAL - if (curwin->w_p_conceal && oldline != curwin->w_cursor.lnum) - { - update_single_line(curwin, oldline); - update_single_line(curwin, curwin->w_cursor.lnum); - } -#endif end_do_search: if (options & SEARCH_KEEP) |