--- zzzz-none-000/linux-2.6.19.2/scripts/kconfig/lxdialog/util.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/scripts/kconfig/lxdialog/util.c 2007-01-11 07:38:19.000000000 +0000 @@ -221,14 +221,16 @@ */ static void color_setup(const char *theme) { - int use_color; - - use_color = set_theme(theme); - if (use_color && has_colors()) { - start_color(); - init_dialog_colors(); - } else + if (set_theme(theme)) { + if (has_colors()) { /* Terminal supports color? */ + start_color(); + init_dialog_colors(); + } + } + else + { set_mono_theme(); + } } /*