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 GitHub
parent 71297ad118
commit 239343bb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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