Fix a strange comparison

This commit is contained in:
Florian Märkl 2022-03-28 19:32:33 +02:00 committed by Anton Kochkov
parent 76c1ab894e
commit b6288ecbf6

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());