From d00f8e823d233c5e16f75f3bf284f0ab83100cdd Mon Sep 17 00:00:00 2001 From: Mark-Weston Date: Thu, 30 Aug 2018 11:21:27 +0300 Subject: [PATCH] tcc fix Signed-off-by: Mark-Weston --- src/global.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/global.c b/src/global.c index 04755599..431a2097 100644 --- a/src/global.c +++ b/src/global.c @@ -229,10 +229,10 @@ regmatch_t regmatches[10]; int hilite_attribute = A_REVERSE; /* The curses attribute we use to highlight something. */ #ifdef ENABLE_COLOR -colortype* color_combo[] = {NULL}; +colortype* color_combo[NUMBER_OF_ELEMENTS] = {NULL}; /* The color combinations for interface elements given in the rcfile. */ #endif -int interface_color_pair[] = {0}; +int interface_color_pair[NUMBER_OF_ELEMENTS] = {0}; /* The processed color pairs for the interface elements. */ char *homedir = NULL; -- 2.18.0