0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.5129: timeout handling is not optimal

Problem:    Timeout handling is not optimal.
Solution:   Avoid setting timeout_flag twice.  Adjust the pointer when
            stopping the regexp timeout.  Adjust variable name.
This commit is contained in:
Bram Moolenaar
2022-06-19 14:36:35 +01:00
parent 6f0cf62df9
commit 1f30caff8b
4 changed files with 6 additions and 4 deletions

View File

@@ -8307,7 +8307,6 @@ start_timeout(long msec)
// This is really the caller's responsibility, but let's make sure the
// previous timer has been stopped.
stop_timeout();
timeout_flag = FALSE;
if (!timer_created)
{