remove useless wattroff

This commit is contained in:
smayzy 2026-04-11 16:47:49 +02:00
parent f703745fe5
commit 836a0b52c4

View File

@ -315,10 +315,6 @@ void win_bar(StInt *st, bool use_color) {
wattroff(st->lwin, COLOR_PAIR(1)); wattroff(st->lwin, COLOR_PAIR(1));
} }
if (use_color) {
wattroff(st->lwin, COLOR_PAIR(0));
}
char buf[16]; char buf[16];
int len; int len;
snprintf(buf , sizeof(buf), "%d", st->data); snprintf(buf , sizeof(buf), "%d", st->data);