Ken Takata wrote: > 2017/3/2 Thu 11:52:29 UTC+9 h_east wrote: > > Hi Bram, > > > > How to reproduce (on Linux): > > - Go to Vim source directory > > $ cd /path/to/your/vim > > - Configure with enabling gui gnome2 > > $ ./configure --with-features=huge --enable-gui=gnome2 > > --enable-fail-if-missing > > - Make > > $ make > > - Run vanilla CLI Vim > > $ src/vim -Nu NONE > > - Execute the following command. > > :call balloon_show("Hi") > > > > Expected behavior: > > - Nothing happens. (Or an error message is output?) > > > > Actual behavior: > > - SEGV > > > > Attached patch fixes this. > > Isn't it better to add NULL check to the caller of gui_mch_post_balloon()? > Because other part do so. > > Additionally, I found some problems in the document. > > 1. Tabs and spaces are mixed. > 2. '+beval' should be '|+balloon_eval|'.
Thanks! I'll also write a simple test for using balloon_show() in the console. -- On the other hand, you have different fingers. -- Steven Wright /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.