Skip to content

Commit

Permalink
Fix a glitch with mono/color type filtering.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Feb 28, 2025
1 parent 2371ba8 commit 44350b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cups/usersys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,12 +1022,12 @@ _cupsSetDefaults(void)
if (!_cups_strcasecmp(ptr, "mono"))
{
cg->filter_type |= CUPS_PTYPE_BW;
cg->filter_type_mask |= CUPS_PTYPE_BW | CUPS_PTYPE_COLOR;
cg->filter_type_mask |= CUPS_PTYPE_BW;
}
else if (!_cups_strcasecmp(ptr, "color"))
{
cg->filter_type |= CUPS_PTYPE_COLOR;
cg->filter_type_mask |= CUPS_PTYPE_BW | CUPS_PTYPE_COLOR;
cg->filter_type_mask |= CUPS_PTYPE_COLOR;
}
else if (!_cups_strcasecmp(ptr, "duplex"))
{
Expand Down

0 comments on commit 44350b0

Please sign in to comment.