Mercurial > vim
comparison src/gui_w32.c @ 9017:7b1200ea03a1 v7.4.1794
commit https://github.com/vim/vim/commit/c285fe7c3ffdb3ec4eff20a1d1d5accfc80f1a86
Author: Bram Moolenaar <Bram@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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 26 Apr 2016 22:00:06 +0200 |
parents | 22c29a515b53 |
children | 5e18efdad322 |
comparison
equal
deleted
inserted
replaced
9016:bbc1e9fb905c | 9017:7b1200ea03a1 |
---|---|
1560 * Return INVALCOLOR for error. | 1560 * Return INVALCOLOR for error. |
1561 */ | 1561 */ |
1562 guicolor_T | 1562 guicolor_T |
1563 gui_mch_get_color(char_u *name) | 1563 gui_mch_get_color(char_u *name) |
1564 { | 1564 { |
1565 int i; | |
1565 | 1566 |
1566 typedef struct SysColorTable | 1567 typedef struct SysColorTable |
1567 { | 1568 { |
1568 char *name; | 1569 char *name; |
1569 int color; | 1570 int color; |
1615 if (STRICMP(name, sys_table[i].name) == 0) | 1616 if (STRICMP(name, sys_table[i].name) == 0) |
1616 return GetSysColor(sys_table[i].color); | 1617 return GetSysColor(sys_table[i].color); |
1617 | 1618 |
1618 return gui_get_color_cmn(name); | 1619 return gui_get_color_cmn(name); |
1619 } | 1620 } |
1621 | |
1620 /* | 1622 /* |
1621 * Return OK if the key with the termcap name "name" is supported. | 1623 * Return OK if the key with the termcap name "name" is supported. |
1622 */ | 1624 */ |
1623 int | 1625 int |
1624 gui_mch_haskey(char_u *name) | 1626 gui_mch_haskey(char_u *name) |