mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Merge remote-tracking branch
'origin/GP-1111_ghidra1_PropogateStructPackSetting' into patch (Closes #3193)
This commit is contained in:
commit
10db074bcc
2 changed files with 19 additions and 7 deletions
|
@ -1216,11 +1216,13 @@ class StructureEditorModel extends CompEditorModel {
|
|||
final StructureDataType structureDataType =
|
||||
new StructureDataType(originalCategoryPath, uniqueName, length, originalDTM);
|
||||
|
||||
// if (isPackingEnabled()) {
|
||||
// structureDataType.setPackingValue(getPackingValue());
|
||||
// }
|
||||
// adopt pack setting from current structure
|
||||
structureDataType.setPackingEnabled(isPackingEnabled());
|
||||
if (getPackingType() == PackingType.EXPLICIT) {
|
||||
structureDataType.setExplicitPackingValue(getExplicitPackingValue());
|
||||
}
|
||||
|
||||
// Get data type components to make into structure.
|
||||
// Get data type components to make into structure.
|
||||
DataTypeComponent firstDtc = null;
|
||||
DataTypeComponent lastDtc = null;
|
||||
for (int rowIndex = minRow; rowIndex < maxRow; rowIndex++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue