From 92d6f597e8ea33c16bd5f0fe29049f047b92b91f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Fri, 22 Dec 2017 16:53:42 +0100 Subject: [PATCH] Use disasm from agj in Graph (Fix #233) --- src/widgets/DisassemblerGraphView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/DisassemblerGraphView.cpp b/src/widgets/DisassemblerGraphView.cpp index 651bf0dc..799eadf6 100644 --- a/src/widgets/DisassemblerGraphView.cpp +++ b/src/widgets/DisassemblerGraphView.cpp @@ -159,7 +159,7 @@ void DisassemblerGraphView::loadCurrentGraph() // Skip last byte, otherwise it will overlap with next instruction i.size = op["size"].toVariant().toULongLong() - 1; RichTextPainter::List richText; - Colors::colorizeAssembly(richText, op["opcode"].toString(), op["type_num"].toVariant().toULongLong()); + Colors::colorizeAssembly(richText, op["disasm"].toString(), op["type_num"].toVariant().toULongLong()); if (op["comment"].toString().length()) { RichTextPainter::CustomRichText_t comment; comment.text = QString(" ; %1").arg(QByteArray::fromBase64(op["comment"].toString().toLocal8Bit()).data());