Masahiro Yamada 93487b17b1 kconfig: nconf: refactor attributes setup code
The current attributes setup code is strange; the array attribute[]
is set to values outside the range of the attribute_t enum.

At least,

  attributes_t attributes[ATTR_MAX+1] = {0};

... should be

  int attribute[ATTR_MAX+1] = {0};

Also, there is no need to hard-code the color-pair numbers in
attributes_t.

The current code is messy. Rewrite it.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2021-04-14 15:25:13 +09:00
..
2021-04-14 15:22:49 +09:00
2021-04-14 15:22:49 +09:00
2020-08-14 13:30:03 +09:00
2020-08-14 13:30:03 +09:00
2021-01-27 03:17:42 +09:00
2020-09-25 00:37:13 +09:00