To: vim_dev@googlegroups.com Subject: Patch 8.2.2559 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2559 Problem: MS-Windows: guifont test fails on Windows XP. Solution: Check windowsversion(). Files: src/testdir/test_gui.vim *** ../vim-8.2.2558/src/testdir/test_gui.vim 2020-12-09 12:01:00.173093519 +0100 --- src/testdir/test_gui.vim 2021-02-28 23:12:20.697124496 +0100 *************** *** 388,394 **** 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) --- 388,396 ---- call assert_fails('set guifont=xa1bc23d7f', 'E596:') endif ! " This only works if 'renderoptions' exists and does not work for Windows XP ! " and older. ! if exists('+renderoptions') && windowsversion() !~ '^[345]\.' " doing this four times used to cause a crash set renderoptions=type:directx for i in range(5) *** ../vim-8.2.2558/src/version.c 2021-02-28 16:55:07.513026844 +0100 --- src/version.c 2021-02-28 23:13:12.541006190 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2559, /**/ -- Zen Microsystems: we're the om in .commmmmmmmm /// 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 ///