Fix #7315 - "ahi s" regression

In radare/radare2@d9d83914 the fix for "r_parse_filter output for pc relative addrs when color is involved" broke the ahi command in some contexts.
This commit is contained in:
pachulo 2017-04-26 12:50:49 +02:00 committed by radare
parent 0f62a1d590
commit 47cd0577b2

View File

@ -750,7 +750,7 @@ static void ds_build_op_str(RDisasmState *ds) {
core->parser->relsub_addr = num;
}
}
r_parse_filter (core->parser, core->flags, asm_str, ds->str, sizeof (ds->str), core->print->big_endian);
r_parse_filter (core->parser, core->flags, ds->opstr, ds->str, sizeof (ds->str), core->print->big_endian);
core->parser->flagspace = ofs;
free (ds->opstr);
ds->opstr = strdup (ds->str);