To: vim_dev@googlegroups.com Subject: Patch 8.2.1974 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1974 Problem: Vim9: test for has('gui_running') fails with VIMDLL. Solution: Adjust the #ifdef. (Ken Takata, closes #7276) Files: src/evalfunc.c *** ../vim-8.2.1973/src/evalfunc.c 2020-11-09 18:31:30.544791868 +0100 --- src/evalfunc.c 2020-11-10 20:57:29.530083236 +0100 *************** *** 5513,5519 **** #ifdef VIMDLL || STRICMP(feature, "filterpipe") == 0 #endif ! #if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) // this can only change on Unix where the ":gui" command could be // used. || (STRICMP(feature, "gui_running") == 0 && !gui.in_use) --- 5513,5519 ---- #ifdef VIMDLL || STRICMP(feature, "filterpipe") == 0 #endif ! #if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) && !defined(VIMDLL) // this can only change on Unix where the ":gui" command could be // used. || (STRICMP(feature, "gui_running") == 0 && !gui.in_use) *** ../vim-8.2.1973/src/version.c 2020-11-10 20:54:25.074769806 +0100 --- src/version.c 2020-11-10 20:56:53.734214441 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 1974, /**/ -- hundred-and-one symptoms of being an internet addict: 231. You sprinkle Carpet Fresh on the rugs and put your vacuum cleaner in the front doorway permanently so it always looks like you are actually attempting to do something about that mess that has amassed since you discovered the Internet. /// 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 ///