mirror of
https://github.com/irssi/irssi.git
synced 2025-04-26 04:51:11 -05:00
Run clang-format
This commit is contained in:
parent
4fa72e857c
commit
2122daa3f3
@ -478,7 +478,8 @@ void terminfo_setup_colors(TERM_REC *term, int force)
|
||||
if (term->TI_setaf) {
|
||||
for (i = 0; i < term->TI_colors; i++) {
|
||||
color = i < 16 ? ansitab[i] : i;
|
||||
term->TI_fg[i] = g_strdup(tparm(term->TI_setaf, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
term->TI_fg[i] =
|
||||
g_strdup(tparm(term->TI_setaf, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
}
|
||||
} else if (term->TI_setf) {
|
||||
for (i = 0; i < term->TI_colors; i++)
|
||||
@ -491,7 +492,8 @@ void terminfo_setup_colors(TERM_REC *term, int force)
|
||||
if (term->TI_setab) {
|
||||
for (i = 0; i < term->TI_colors; i++) {
|
||||
color = i < 16 ? ansitab[i] : i;
|
||||
term->TI_bg[i] = g_strdup(tparm(term->TI_setab, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
term->TI_bg[i] =
|
||||
g_strdup(tparm(term->TI_setab, color, 0, 0, 0, 0, 0, 0, 0, 0));
|
||||
}
|
||||
} else if (term->TI_setb) {
|
||||
for (i = 0; i < term->TI_colors; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user