Mercurial > vim
view runtime/delmenu.vim @ 12700:306a7a357c71 v8.0.1228
patch 8.0.1228: invalid memory access in GUI test
commit https://github.com/vim/vim/commit/0e19fc07e73214f94441cb3a495504a1de21eb07
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 28 14:45:16 2017 +0200
patch 8.0.1228: invalid memory access in GUI test
Problem: Invalid memory access in GUI test.
Solution: Check that the row is not outside of the screen.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Oct 2017 15:00:05 +0200 |
parents | 3fc0f57ecb91 |
children | 405309f9dd13 |
line wrap: on
line source
" This Vim script deletes all the menus, so that they can be redefined. " Warning: This also deletes all menus defined by the user! " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2001 May 27 aunmenu * silent! unlet did_install_default_menus silent! unlet did_install_syntax_menu if exists("did_menu_trans") menutrans clear unlet did_menu_trans endif silent! unlet find_help_dialog silent! unlet menutrans_help_dialog silent! unlet menutrans_path_dialog silent! unlet menutrans_tags_dialog silent! unlet menutrans_textwidth_dialog silent! unlet menutrans_fileformat_dialog silent! unlet menutrans_no_file " vim: set sw=2 :