Problem: MS-Windows GUI: test for 'guifont' is incomplete.
Solution: Set 'renderoptions'. (Christian Brabandt)
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 guifont=
- set guifont=
- set guifont=
- set guifont=
- set guifont=
+ 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')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2116,
/**/
2115,
/**/