On 13-Nov-2017 04:32, Bram Moolenaar wrote:
Patch 8.0.1294
Problem:    GUI: get stuck when splitting a terminal window.
Solution:   Stop blinking when values become zero. (Hirohito Higashi)
Files:      src/gui.c

This patch contains this line:

+       if (shape->blinkoff == 0 || shape->blinkon == 0 || shape->blinkoff == 0)

As you can see "shape->blinkoff == 0" appears twice. I suspect that this was not intentional. If my suspicion is correct the please check the attached patch which attempts to fix it.


Cheers

John

--
--
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.
--- gui.c.orig  2017-11-13 04:51:35.553000000 +1100
+++ gui.c       2017-11-13 10:54:16.705994100 +1100
@@ -1118,7 +1118,7 @@
        gui_mch_set_blinking(shape->blinkwait,
                             shape->blinkon,
                             shape->blinkoff);
-       if (shape->blinkoff == 0 || shape->blinkon == 0 || shape->blinkoff == 0)
+       if (shape->blinkoff == 0 || shape->blinkon == 0)
            gui_mch_stop_blink();
 #ifdef FEAT_TERMINAL
        if (shape_bg != INVALCOLOR)

Raspunde prin e-mail lui