Skip to content

Commit

Permalink
move 'saved_last_search_spat' declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Oct 8, 2017
1 parent 7577fc3 commit 1989c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ static int lastc_bytelen = 1; /* >1 for multi-byte char */
#if defined(FEAT_AUTOCMD) || defined(FEAT_EVAL) || defined(PROTO)
/* copy of spats[], for keeping the search patterns while executing autocmds */
static struct spat saved_spats[2];
# ifdef FEAT_SEARCH_EXTRA
/* copy of spats[RE_SEARCH], for keeping the search patterns while incremental
* searching */
static struct spat saved_last_search_spat;
static int saved_last_idx = 0;
# ifdef FEAT_SEARCH_EXTRA
static int saved_no_hlsearch = 0;
# endif
#endif
Expand Down

0 comments on commit 1989c73

Please sign in to comment.