To: vim_dev@googlegroups.com Subject: Patch 8.2.2116 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2116 Problem: MS-Windows GUI: test for 'guifont' is incomplete. Solution: Set 'renderoptions'. (Christian Brabandt) Files: src/testdir/test_gui.vim *** ../vim-8.2.2115/src/testdir/test_gui.vim 2020-12-08 21:12:37.059815292 +0100 --- src/testdir/test_gui.vim 2020-12-09 11:58:45.061616958 +0100 *************** *** 386,398 **** if has('win32') " Invalid font names are accepted in GTK GUI call assert_fails('set guifont=xa1bc23d7f', 'E596:') " doing this four times used to cause a crash ! set guifont= ! set guifont= ! set guifont= ! set guifont= ! set guifont= endif if has('xfontset') --- 386,403 ---- if has('win32') " Invalid font names are accepted in GTK GUI call assert_fails('set guifont=xa1bc23d7f', 'E596:') + endif + if exists('+renderoptions') " doing this four times used to cause a crash ! set renderoptions=type:directx ! for i in range(5) ! set guifont= ! endfor ! set renderoptions= ! for i in range(5) ! set guifont= ! endfor endif if has('xfontset') *** ../vim-8.2.2115/src/version.c 2020-12-08 22:08:47.672125693 +0100 --- src/version.c 2020-12-09 11:57:27.001918489 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2116, /**/ -- Why don't cannibals eat clowns? Because they taste funny. /// Bram Moolenaar -- Bram@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 ///