mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
Add missing midcursor check
This commit is contained in:
parent
3bfadcd4a3
commit
847d3f1195
@ -1012,7 +1012,7 @@ static int handleMidFlags(RCore *core, RDisasmState *ds, bool print) {
|
||||
int i;
|
||||
ds->hasMidflag = false;
|
||||
|
||||
if (core->print->cur != -1) {
|
||||
if (ds->midcursor && core->print->cur != -1) {
|
||||
ut64 cur = core->offset + core->print->cur;
|
||||
ut64 from = ds->at;
|
||||
ut64 to = ds->at + ds->oplen;
|
||||
|
Loading…
Reference in New Issue
Block a user