Skip to content

Commit 34a5874

Browse files
committed
patch 8.1.0872: confusing condition
Problem: Confusing condition. Solution: Use "==" instead of "<=".
1 parent 314dd79 commit 34a5874

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/gui_gtk_x11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6320,7 +6320,7 @@ gui_mch_wait_for_chars(long wtime)
63206320
// This timeout makes sure that we will return if no characters arrived in
63216321
// time. If "wtime" is zero just use one.
63226322
if (wtime >= 0)
6323-
timer = timeout_add(wtime <= 0 ? 1L : wtime,
6323+
timer = timeout_add(wtime == 0 ? 1L : wtime,
63246324
input_timer_cb, &timed_out);
63256325
else
63266326
timer = 0;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ static char *(features[]) =
783783

784784
static int included_patches[] =
785785
{ /* Add new patch number below this line */
786+
/**/
787+
872,
786788
/**/
787789
871,
788790
/**/

0 commit comments

Comments
 (0)