forked from aniani/vim
updated for version 7.3.921
Problem: Trying to create a fontset handle when 'guifontset' is not set. Solution: Add curly braces around the code block. (Max Kirillov)
This commit is contained in:
@@ -8082,6 +8082,7 @@ hl_do_font(idx, arg, do_normal, do_menu, do_tooltip, free_font)
|
|||||||
|| do_tooltip
|
|| do_tooltip
|
||||||
# endif
|
# endif
|
||||||
)
|
)
|
||||||
|
{
|
||||||
if (free_font)
|
if (free_font)
|
||||||
gui_mch_free_fontset(HL_TABLE()[idx].sg_fontset);
|
gui_mch_free_fontset(HL_TABLE()[idx].sg_fontset);
|
||||||
HL_TABLE()[idx].sg_fontset = fontset_name2handle(arg, 0
|
HL_TABLE()[idx].sg_fontset = fontset_name2handle(arg, 0
|
||||||
@@ -8092,6 +8093,7 @@ hl_do_font(idx, arg, do_normal, do_menu, do_tooltip, free_font)
|
|||||||
|| do_tooltip
|
|| do_tooltip
|
||||||
# endif
|
# endif
|
||||||
);
|
);
|
||||||
|
}
|
||||||
if (HL_TABLE()[idx].sg_fontset != NOFONTSET)
|
if (HL_TABLE()[idx].sg_fontset != NOFONTSET)
|
||||||
{
|
{
|
||||||
/* If it worked and it's the Normal group, use it as the normal
|
/* If it worked and it's the Normal group, use it as the normal
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
921,
|
||||||
/**/
|
/**/
|
||||||
920,
|
920,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user