mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
Fix typo
This commit is contained in:
parent
6b644d6ed6
commit
dc3fe4f3c4
@ -170,7 +170,7 @@ void DisassemblerGraphView::loadCurrentGraph()
|
|||||||
|
|
||||||
RichTextPainter::List richText;
|
RichTextPainter::List richText;
|
||||||
QString disas;
|
QString disas;
|
||||||
if (Core()->getConfigb("asm.emu"))
|
if (Core()->getConfigb("asm.esil"))
|
||||||
disas = op["esil"].toString();
|
disas = op["esil"].toString();
|
||||||
else
|
else
|
||||||
disas = op["disasm"].toString();
|
disas = op["disasm"].toString();
|
||||||
@ -209,13 +209,9 @@ void DisassemblerGraphView::loadCurrentGraph()
|
|||||||
int blockLength = Config()->getGraphBlockMaxChars() + Core()->getConfigb("asm.bytes") * 24 + Core()->getConfigb("asm.emu") * 10;
|
int blockLength = Config()->getGraphBlockMaxChars() + Core()->getConfigb("asm.bytes") * 24 + Core()->getConfigb("asm.emu") * 10;
|
||||||
i.text = Text(RichTextPainter::cropped(richText, blockLength, "...", &cropped));
|
i.text = Text(RichTextPainter::cropped(richText, blockLength, "...", &cropped));
|
||||||
if(cropped)
|
if(cropped)
|
||||||
{
|
|
||||||
i.fullText = richText;
|
i.fullText = richText;
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
i.fullText = Text();
|
i.fullText = Text();
|
||||||
}
|
|
||||||
db.instrs.push_back(i);
|
db.instrs.push_back(i);
|
||||||
}
|
}
|
||||||
disassembly_blocks[db.entry] = db;
|
disassembly_blocks[db.entry] = db;
|
||||||
|
Loading…
Reference in New Issue
Block a user