Mercurial > vim
view ci/if_ver-cmd.vim @ 23328:8e0ec52cad85 v8.2.2207
patch 8.2.2207: illegal memory access if popup menu items are changed
Commit: https://github.com/vim/vim/commit/38455a921395a56690790c8c1d28c1c43ca04c8a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 24 18:39:02 2020 +0100
patch 8.2.2207: illegal memory access if popup menu items are changed
Problem: Illegal memory access if popup menu items are changed while the
menu is visible. (Tom?? Janou?ek)
Solution: Make a copy of the text. (closes #7537)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Dec 2020 18:45:03 +0100 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)