Skip to content

Ghidra is a software reverse engineering (SRE) framework

fixing typo in RenameStructureFieldTask comment: "Created by retype action" -> "Created by Rename Structure Field action"

Solomon Uckoef4cbad4ec2f
diff --git a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/RenameStructFieldTask.java b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/RenameStructFieldTask.java
index 4c9538d304..e265ceb01a 100644
--- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/RenameStructFieldTask.java
+++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/RenameStructFieldTask.java
@@ -50,7 +50,7 @@ public class RenameStructFieldTask extends RenameTask {
DataTypeComponent comp = structure.getComponentAt(offset);
if (comp.getDataType() == DataType.DEFAULT) { // Is this just a placeholder
DataType newtype = new Undefined1DataType();
- structure.replaceAtOffset(offset, newtype, 1, newName, "Created by retype action");
+ structure.replaceAtOffset(offset, newtype, 1, newName, "Created by Rename Structure Field action");
}
else {
comp.setFieldName(newName);