mirror of
https://github.com/vim/vim.git
synced 2025-10-14 07:04:10 -04:00
patch 7.4.2253
Problem: Check for Windows 3.1 will always return false. (Christian Brabandt) Solution: Remove the dead code.
This commit is contained in:
@@ -5989,10 +5989,6 @@ f_has(typval_T *argvars, typval_T *rettv)
|
||||
#ifdef FEAT_GUI
|
||||
else if (STRICMP(name, "gui_running") == 0)
|
||||
n = (gui.in_use || gui.starting);
|
||||
# ifdef FEAT_GUI_W32
|
||||
else if (STRICMP(name, "gui_win32s") == 0)
|
||||
n = gui_is_win32s();
|
||||
# endif
|
||||
# ifdef FEAT_BROWSE
|
||||
else if (STRICMP(name, "browse") == 0)
|
||||
n = gui.in_use; /* gui_mch_browse() works when GUI is running */
|
||||
|
Reference in New Issue
Block a user