forked from aniani/vim
patch 8.1.0872: confusing condition
Problem: Confusing condition. Solution: Use "==" instead of "<=".
This commit is contained in:
@@ -6320,7 +6320,7 @@ gui_mch_wait_for_chars(long wtime)
|
|||||||
// This timeout makes sure that we will return if no characters arrived in
|
// This timeout makes sure that we will return if no characters arrived in
|
||||||
// time. If "wtime" is zero just use one.
|
// time. If "wtime" is zero just use one.
|
||||||
if (wtime >= 0)
|
if (wtime >= 0)
|
||||||
timer = timeout_add(wtime <= 0 ? 1L : wtime,
|
timer = timeout_add(wtime == 0 ? 1L : wtime,
|
||||||
input_timer_cb, &timed_out);
|
input_timer_cb, &timed_out);
|
||||||
else
|
else
|
||||||
timer = 0;
|
timer = 0;
|
||||||
|
@@ -783,6 +783,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
872,
|
||||||
/**/
|
/**/
|
||||||
871,
|
871,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user