Skip to content

Commit

Permalink
Revert to push decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Oct 27, 2024
1 parent aa14c67 commit fd360b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ impl PostScriptOp {

fn write(&self, buf: &mut Vec<u8>) {
match self {
Self::Real(r) => buf.push_float(*r),
Self::Real(r) => buf.push_decimal(*r),
Self::Integer(i) => buf.push_val(*i),
Self::If(ops) => {
Self::write_slice(&ops, buf);
Expand Down

0 comments on commit fd360b1

Please sign in to comment.