diff options
author | iximeow <me@iximeow.net> | 2019-03-30 15:27:25 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:13 -0800 |
commit | 9ca5adc847098d6f74f49707b94ed0df23626c18 (patch) | |
tree | dfc71dc49c4b93e95585b05680fd5832f3c290e1 /src/display.rs | |
parent | 53d8bbd02980da9558fd972065491af836a136ee (diff) |
fix incorrect sign tests and decode oddities
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs index daa2c34..6846174 100644 --- a/src/display.rs +++ b/src/display.rs @@ -162,7 +162,7 @@ impl <T: std::fmt::Write> Colorize<T> for Operand { colors.register(base), colors.register(index), colors.number(scale), - colors.number(format!("{:#x}", scale)) + colors.number(format!("{:#x}", disp)) ) }, &Operand::Nothing => { Ok(()) }, |