[vim] 111/139: patch 7.4.1794 Problem: Can't build on MS-Windows. Solution: Add missing declaration.

James McCoy jamessan at debian.org
Fri May 6 04:00:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit c285fe7c3ffdb3ec4eff20a1d1d5accfc80f1a86
Author: Bram Moolenaar <Bram at vim.org>
Date:   Tue Apr 26 21:51:48 2016 +0200

    patch 7.4.1794
    Problem:    Can't build on MS-Windows.
    Solution:   Add missing declaration.
---
 src/gui_w32.c | 2 ++
 src/version.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/gui_w32.c b/src/gui_w32.c
index 82cad1c..10c14c9 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1562,6 +1562,7 @@ gui_mch_free_font(GuiFont font)
     guicolor_T
 gui_mch_get_color(char_u *name)
 {
+    int i;
 
     typedef struct SysColorTable
     {
@@ -1617,6 +1618,7 @@ gui_mch_get_color(char_u *name)
 
     return gui_get_color_cmn(name);
 }
+
 /*
  * Return OK if the key with the termcap name "name" is supported.
  */
diff --git a/src/version.c b/src/version.c
index 56af2f0..97ec40b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1794,
+/**/
     1793,
 /**/
     1792,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list