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 -- [email protected] -- 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202012091101.0B9B1SuW1879215%40masaka.moolenaar.net.