Patch 8.1.0872
Problem:    Confusing condition.
Solution:   Use "==" instead of "<=".
Files:      src/gui_gtk_x11.c


*** ../vim-8.1.0871/src/gui_gtk_x11.c   2019-01-28 22:32:54.891909109 +0100
--- src/gui_gtk_x11.c   2019-01-28 22:32:23.620130001 +0100
***************
*** 6320,6326 ****
      // 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,
                                                   input_timer_cb, &timed_out);
      else
        timer = 0;
--- 6320,6326 ----
      // 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,
                                                   input_timer_cb, &timed_out);
      else
        timer = 0;
*** ../vim-8.1.0871/src/version.c       2019-02-03 15:18:31.480095521 +0100
--- src/version.c       2019-02-03 15:28:11.104439391 +0100
***************
*** 785,786 ****
--- 785,788 ----
  {   /* Add new patch number below this line */
+ /**/
+     872,
  /**/

-- 
An indication you must be a manager:
You give constructive feedback to your dog.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui