summaryrefslogtreecommitdiffstats
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 850fd06c71..7d57e85b50 100644
--- a/src/search.c
+++ b/src/search.c
@@ -5479,7 +5479,7 @@ exit_matched:
#ifdef FEAT_INS_EXPAND
if (action == ACTION_EXPAND)
ins_compl_check_keys(30, FALSE);
- if (got_int || compl_interrupted)
+ if (got_int || ins_compl_interrupted())
#else
if (got_int)
#endif
@@ -5550,7 +5550,7 @@ exit_matched:
)
{
#ifdef FEAT_INS_EXPAND
- if (got_int || compl_interrupted)
+ if (got_int || ins_compl_interrupted())
#else
if (got_int)
#endif