Fix pdj call in nextOpAddr for disasm scrolling (#2874)

This commit is contained in:
Florian Märkl 2022-01-08 17:16:41 +01:00 committed by Anton Kochkov
parent 5c4ba4891d
commit 893baea832

View File

@ -991,7 +991,7 @@ RVA CutterCore::nextOpAddr(RVA startAddr, int count)
CORE_LOCK();
QJsonArray array =
Core()->cmdj("pdj " + QString::number(count + 1) + "@" + QString::number(startAddr))
Core()->cmdj("pdj " + QString::number(count + 1) + " @ " + QString::number(startAddr))
.array();
if (array.isEmpty()) {
return startAddr + 1;