Skip to content

Commit

Permalink
Fix EnumField opcode formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-Yom committed May 13, 2023
1 parent 460d5c9 commit 2a784d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/hlbc/src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ impl Opcode {
} => {
op!(
"{dst} = ({value} as {}).{}",
construct.display::<EnhancedFmt>(ctx, &ctx[parent[*dst]]),
construct.display::<EnhancedFmt>(ctx, &ctx[parent[*value]]),
field.0
)
}
Expand Down

0 comments on commit 2a784d8

Please sign in to comment.