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:
Craig Small 2016-07-09 15:57:11 +10:00
parent f272924235
commit 2c410df4bf

View File

@ -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)