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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user