Fix a strange comparison

This commit is contained in:
Florian Märkl 2022-03-28 19:32:33 +02:00
parent fc3f072ed7
commit 206fee601b

View File

@ -726,7 +726,7 @@ void HexWidget::w_increaseDecrease()
} }
int64_t value = (int64_t)d.getValue(); int64_t value = (int64_t)d.getValue();
uint8_t sz = d.getNBytes(); uint8_t sz = d.getNBytes();
if (!d.getMode() == IncrementDecrementDialog::Increase) { if (d.getMode() == IncrementDecrementDialog::Decrease) {
value *= -1; value *= -1;
} }
RzCoreLocked core(Core()); RzCoreLocked core(Core());