]> git.siccegge.de Git - frida/frida.git/blobdiff - src/gui/Mainwindow.cxx
Move to table widget -- looks nicer and matches better
[frida/frida.git] / src / gui / Mainwindow.cxx
index 1c8ae0bb2225b49e2132b8cb9dcc188c2c2fcb25..7d90820a9869436323f5236be1891843642affe5 100644 (file)
@@ -79,8 +79,8 @@ namespace {
                widget->moveBy(100*startx, 10*(block->getStartAddress() - starty));
 
                dis->printEachInstruction(block->getStartAddress(), block->getEndAddress(),
-                                                                 [&](const std::string& line) {
-                                                                         widget->addItem(line.c_str());
+                                                                 [&](uint8_t* bytes, size_t byte_count, const std::string& line) {
+                                                                         widget->addItem(bytes, byte_count, line.c_str() + 1);
                                                                  });
 
                if (block->getNextBlock(0) != 0)