Skip to content

Commit

Permalink
[ansi-print] Remove impossible condition
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Jun 23, 2022
1 parent 251320e commit f8d052d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/ansi-print.hh
Expand Up @@ -179,7 +179,7 @@ struct biimage_t
for (unsigned int i = 0; i < 8; i++)
if (i != bg && (fg == 8 || freq[fg] < freq[i]))
fg = i;
if (fg == bg || freq[fg] == 0) {
if (freq[fg] == 0) {
fg = bg;
unicolor = true;
}
Expand Down

0 comments on commit f8d052d

Please sign in to comment.