0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0399: crash when using balloon_show() when not supported

Problem:    Crash when using balloon_show() when not supported. (Hirohito
            Higashi)
Solution:   Check for balloonEval not to be NULL. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2017-03-02 22:11:33 +01:00
parent 66727e1607
commit caf6434ac9
3 changed files with 9 additions and 1 deletions

View File

@@ -466,3 +466,8 @@ func Test_getbufvar()
set fileformats&
endfunc
func Test_balloon_show()
" This won't do anything but must not crash either.
call balloon_show('hi!')
endfunc