forked from aniani/vim
updated for version 7.0163
This commit is contained in:
10
src/option.c
10
src/option.c
@@ -1075,14 +1075,14 @@ static struct vimoption
|
||||
#endif
|
||||
},
|
||||
{"guiheadroom", "ghr", P_NUM|P_VI_DEF,
|
||||
#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(FEAT_GUI_KDE)
|
||||
#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)
|
||||
(char_u *)&p_ghr, PV_NONE,
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE,
|
||||
#endif
|
||||
{(char_u *)50L, (char_u *)0L}},
|
||||
{"guioptions", "go", P_STRING|P_VI_DEF|P_RALL|P_FLAGLIST,
|
||||
#if defined(FEAT_GUI) || defined(FEAT_GUI_KDE)
|
||||
#if defined(FEAT_GUI)
|
||||
(char_u *)&p_go, PV_NONE,
|
||||
# if defined(UNIX) && !defined(MACOS)
|
||||
{(char_u *)"agimrLtT", (char_u *)0L}
|
||||
@@ -1168,7 +1168,7 @@ static struct vimoption
|
||||
(char_u *)&p_ic, PV_NONE,
|
||||
{(char_u *)FALSE, (char_u *)0L}},
|
||||
{"imactivatekey","imak",P_STRING|P_VI_DEF,
|
||||
#if defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE))
|
||||
#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
|
||||
(char_u *)&p_imak, PV_NONE,
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE,
|
||||
@@ -5305,7 +5305,7 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_XIM) && ( defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE) )
|
||||
#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
|
||||
else if (varp == &p_imak)
|
||||
{
|
||||
if (gui.in_use && !im_xim_isvalid_imactivate())
|
||||
@@ -5574,7 +5574,7 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
|
||||
if (gui.in_use)
|
||||
{
|
||||
p = p_guifont;
|
||||
# if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE)
|
||||
# if defined(FEAT_GUI_GTK)
|
||||
/*
|
||||
* Put up a font dialog and let the user select a new value.
|
||||
* If this is cancelled go back to the old value but don't
|
||||
|
Reference in New Issue
Block a user