Merge branch '2228_panelize_input_colors'

* 2228_panelize_input_colors:
  Ticket #2228: init_panelize(): undeclared 'input_colors'.
This commit is contained in:
Andrew Borodin 2010-05-31 21:32:36 +04:00
commit c884435c1e
1 changed files with 7 additions and 7 deletions

View File

@ -132,13 +132,6 @@ panelize_callback (Dlg_head * h, Widget * sender, dlg_msg_t msg, int parm, void
static void
init_panelize (void)
{
int i, panelize_cols = COLS - 6;
struct panelize *current = panelize;
#ifdef ENABLE_NLS
static int i18n_flag = 0;
static int maxlen = 0;
const int input_colors[3] =
{
INPUT_COLOR,
@ -146,6 +139,13 @@ init_panelize (void)
INPUT_MARK_COLOR
};
int i, panelize_cols = COLS - 6;
struct panelize *current = panelize;
#ifdef ENABLE_NLS
static int i18n_flag = 0;
static int maxlen = 0;
if (!i18n_flag)
{
i = sizeof (panelize_but) / sizeof (panelize_but[0]);