diff --git a/src/widgets/HexWidget.cpp b/src/widgets/HexWidget.cpp index 334176be..39d9d2e2 100644 --- a/src/widgets/HexWidget.cpp +++ b/src/widgets/HexWidget.cpp @@ -726,7 +726,7 @@ void HexWidget::w_increaseDecrease() } int64_t value = (int64_t)d.getValue(); uint8_t sz = d.getNBytes(); - if (!d.getMode() == IncrementDecrementDialog::Increase) { + if (d.getMode() == IncrementDecrementDialog::Decrease) { value *= -1; } RzCoreLocked core(Core());