Merge remote-tracking branch 'origin/GP-1-dragonmacher-html-bug-fix'

This commit is contained in:
Ryan Kurtz
2023-02-02 11:00:14 -05:00
@@ -33,7 +33,7 @@ import ghidra.util.exception.*;
public class FunctionEditorModel { public class FunctionEditorModel {
public static final String PARSING_MODE_STATUS_TEXT = public static final String PARSING_MODE_STATUS_TEXT =
"<TAB> or <RETURN> to commit edits, <ESC> to abort"; HTMLUtilities.escapeHTML("<TAB> or <RETURN> to commit edits, <ESC> to abort");
static final String NONE_CHOICE = "-NONE-"; static final String NONE_CHOICE = "-NONE-";
private String name; private String name;
@@ -641,9 +641,9 @@ public class FunctionEditorModel {
returnInfo.getFormalDataType(), storage); returnInfo.getFormalDataType(), storage);
try { try {
if (autoParamCount < oldAutoCount) { if (autoParamCount < oldAutoCount) {
if (oldParams.get( if (oldParams.get(autoParamCount)
autoParamCount).getStorage().getAutoParameterType() != storage .getStorage()
.getAutoParameterType()) { .getAutoParameterType() != storage.getAutoParameterType()) {
adjustSelectionForRowRemoved(i); adjustSelectionForRowRemoved(i);
} }
} }