mirror of https://github.com/MidnightCommander/mc
Merge branch '2228_panelize_input_colors'
* 2228_panelize_input_colors: Ticket #2228: init_panelize(): undeclared 'input_colors'.
This commit is contained in:
commit
c884435c1e
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue