watch: fix process_ansi typo
When I had to apply Josh's ansi fix a few commits below I put the
return before the setattr
References:
commit 261c571aca
This commit is contained in:
parent
f272924235
commit
2c410df4bf
3
watch.c
3
watch.c
@ -193,9 +193,8 @@ static int set_ansi_attribute(const int attrib)
|
|||||||
return 0; /* Not understood */
|
return 0; /* Not understood */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 1;
|
|
||||||
|
|
||||||
attrset(attributes | COLOR_PAIR(bg_col * nr_of_colors + fg_col + 1));
|
attrset(attributes | COLOR_PAIR(bg_col * nr_of_colors + fg_col + 1));
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void process_ansi(FILE * fp)
|
static void process_ansi(FILE * fp)
|
||||||
|
Loading…
Reference in New Issue
Block a user