mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Use cmdRaw and cmdRawAt in WriteCommandsDialog
This commit is contained in:
parent
87b9741767
commit
647978260a
@ -84,9 +84,9 @@ void DuplicateFromOffsetDialog::refresh()
|
||||
|
||||
// Add space every two characters for word wrap in hex sequence
|
||||
QRegularExpression re{"(.{2})"};
|
||||
QString bytes = Core()->cmd(QString("p8 %1 @ %2")
|
||||
.arg(QString::number(getNBytes()))
|
||||
.arg(QString::number(offestFrom)))
|
||||
QString bytes = Core()->cmdRawAt(QString("p8 %1")
|
||||
.arg(QString::number(getNBytes())),
|
||||
offestFrom)
|
||||
.replace(re, "\\1 ");
|
||||
|
||||
ui->bytesLabel->setText(bytes.trimmed());
|
||||
|
Loading…
Reference in New Issue
Block a user