patch 8.1.0872: confusing condition
Problem: Confusing condition.
Solution: Use "==" instead of "<=".
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index e1de83a..b76aacd 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -6320,7 +6320,7 @@
// This timeout makes sure that we will return if no characters arrived in
// time. If "wtime" is zero just use one.
if (wtime >= 0)
- timer = timeout_add(wtime <= 0 ? 1L : wtime,
+ timer = timeout_add(wtime == 0 ? 1L : wtime,
input_timer_cb, &timed_out);
else
timer = 0;