K.Takata's patch queue for Vim
Revisión | 65a84ec6333cdbf6bd25e8d8e4ff5cd989301a3f (tree) |
---|---|
Tiempo | 2020-11-10 11:04:57 |
Autor | K.Takata <kentkt@csc....> |
Commiter | K.Takata |
Add a new patch
@@ -28,4 +28,5 @@ | ||
28 | 28 | win32-drop-support-for-pre-vista.patch |
29 | 29 | msvc-use-gf-flag.patch |
30 | 30 | win32-disable-quickedit-by-mouse.patch |
31 | +vim9-fix-has-gui_running-with-vimdll.patch | |
31 | 32 | fix-config_cache-removal.patch #+rejected |
@@ -0,0 +1,15 @@ | ||
1 | +# HG changeset patch | |
2 | +# Parent 78f28c5b284a39bd7d019ddcdd1964087fda7b6f | |
3 | + | |
4 | +diff --git a/src/evalfunc.c b/src/evalfunc.c | |
5 | +--- a/src/evalfunc.c | |
6 | ++++ b/src/evalfunc.c | |
7 | +@@ -5513,7 +5513,7 @@ dynamic_feature(char_u *feature) | |
8 | + #ifdef VIMDLL | |
9 | + || STRICMP(feature, "filterpipe") == 0 | |
10 | + #endif | |
11 | +-#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) | |
12 | ++#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) && !defined(VIMDLL) | |
13 | + // this can only change on Unix where the ":gui" command could be | |
14 | + // used. | |
15 | + || (STRICMP(feature, "gui_running") == 0 && !gui.in_use) |