Skip to content

Commit 01b9916

Browse files
committed
kconfig: lxdialog: remove initialization with A_NORMAL
A_NORMAL is zero, so the attribute is set to the default A_NORMAL without explicit assignment. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 648d82a commit 01b9916

File tree

1 file changed

+0
-9
lines changed
  • scripts/kconfig/lxdialog

1 file changed

+0
-9
lines changed

scripts/kconfig/lxdialog/util.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,13 @@ struct dialog_info dlg;
1717

1818
static void set_mono_theme(void)
1919
{
20-
dlg.screen.atr = A_NORMAL;
21-
dlg.shadow.atr = A_NORMAL;
22-
dlg.dialog.atr = A_NORMAL;
2320
dlg.title.atr = A_BOLD;
24-
dlg.border.atr = A_NORMAL;
2521
dlg.button_active.atr = A_REVERSE;
2622
dlg.button_inactive.atr = A_DIM;
2723
dlg.button_key_active.atr = A_REVERSE;
2824
dlg.button_key_inactive.atr = A_BOLD;
2925
dlg.button_label_active.atr = A_REVERSE;
30-
dlg.button_label_inactive.atr = A_NORMAL;
31-
dlg.inputbox.atr = A_NORMAL;
3226
dlg.position_indicator.atr = A_BOLD;
33-
dlg.menubox.atr = A_NORMAL;
34-
dlg.menubox_border.atr = A_NORMAL;
35-
dlg.item.atr = A_NORMAL;
3627
dlg.item_selected.atr = A_REVERSE;
3728
dlg.tag.atr = A_BOLD;
3829
dlg.tag_selected.atr = A_REVERSE;

0 commit comments

Comments
 (0)