Skip to content

Commit

Permalink
Fix bug with special color operands
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Jul 12, 2024
1 parent 15a4625 commit f4729b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydyf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def set_color_special(self, name, stroke=False, *operands):
"""
if name:
operands.append(b'/' + _to_bytes(name))
operands = (*operands, b'/' + _to_bytes(name))
self.stream.append(
b' '.join(_to_bytes(operand) for operand in operands) + b' ' +
(b'SCN' if stroke else b'scn'))
Expand Down

0 comments on commit f4729b9

Please sign in to comment.