summaryrefslogtreecommitdiff
path: root/linearviewobject.cpp
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2021-09-21 19:17:35 +0800
committerXusheng <xusheng@vector35.com>2021-09-27 11:52:18 +0800
commitc7e33d35b4adef40e53619662c7a6cfc198efd4a (patch)
tree668f61f855615c1207eb48bb1b0e23a507e56a5a /linearviewobject.cpp
parentf6d43d5eda8a1bbc95fc5467beb4cc9723b85682 (diff)
Better support for change type in linear view
Diffstat (limited to 'linearviewobject.cpp')
-rw-r--r--linearviewobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linearviewobject.cpp b/linearviewobject.cpp
index afd6d0c8..7bd41064 100644
--- a/linearviewobject.cpp
+++ b/linearviewobject.cpp
@@ -39,7 +39,7 @@ LinearDisassemblyLine LinearDisassemblyLine::FromAPIObject(BNLinearDisassemblyLi
result.contents.typeInfo.fieldIndex = line->contents.typeInfo.fieldIndex;
result.contents.typeInfo.parentType = line->contents.typeInfo.parentType ?
new Type(BNNewTypeReference(line->contents.typeInfo.parentType)) : nullptr;
-
+ result.contents.typeInfo.offset = line->contents.typeInfo.offset;
return result;
}