]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.921 v7.3.921
authorBram Moolenaar <Bram@vim.org>
Sat, 4 May 2013 01:42:34 +0000 (03:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 May 2013 01:42:34 +0000 (03:42 +0200)
Problem:    Trying to create a fontset handle when 'guifontset' is not set.
Solution:   Add curly braces around the code block. (Max Kirillov)

src/syntax.c
src/version.c

index 8e2930cf50be9d5ebf5d075d914e4af14532d16f..4c697698c9a0d84599f45d57b8ce187a0aceea5f 100644 (file)
@@ -8082,6 +8082,7 @@ hl_do_font(idx, arg, do_normal, do_menu, do_tooltip, free_font)
        || do_tooltip
 #  endif
            )
+    {
        if (free_font)
            gui_mch_free_fontset(HL_TABLE()[idx].sg_fontset);
        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
 #  endif
                );
+    }
     if (HL_TABLE()[idx].sg_fontset != NOFONTSET)
     {
        /* If it worked and it's the Normal group, use it as the normal
index 0811257c49ec1b67fe6e90ae7cbc9ad7df839a15..89a6e22dcbf19b617152d7a6264ee5844d112b06 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    921,
 /**/
     920,
 /**/