mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-07 19:20:14 +00:00
Add trailing comma to arrays display
This commit is contained in:
parent
0241b2b97e
commit
7e07eb397d
@ -99,7 +99,7 @@ public class ArrayValuesFieldFactory extends FieldFactory {
|
||||
FieldElement[] aStrings = new FieldElement[valuesThisLine];
|
||||
for (int i = 0; i < valuesThisLine; i++) {
|
||||
Data child = parent.getComponent(index++);
|
||||
String value = getDisplayValue(child, i != valuesThisLine - 1);
|
||||
String value = getDisplayValue(child, remaining > valuesThisLine || i != valuesThisLine - 1);
|
||||
AttributedString as = new AttributedString(value, color, getMetrics());
|
||||
aStrings[i] = new TextFieldElement(as, i, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user