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 committed 2016-07-10 07:45:56 +10:00
1 parent f272924235
commit 2c410df4bf
1 file changed
+1 -2
+1 -2
View File
@@ -193,9 +193,8 @@ static int set_ansi_attribute(const int attrib)
return 0; /* Not understood */
}
}
return 1;
attrset(attributes | COLOR_PAIR(bg_col * nr_of_colors + fg_col + 1));
return 1;
}
static void process_ansi(FILE * fp)