mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-10 09:13:58 -09:00
Fix loop counter
This commit is contained in:
@@ -157,7 +157,8 @@ public class DataTypeTreeCopyMoveTask extends Task {
|
||||
if (n > 1) {
|
||||
message = "Encountered " + n + " errors copying/moving. See the log for details";
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
int max = n < 10 ? n : 10;
|
||||
for (int i = 0; i < max; i++) {
|
||||
Msg.error(this, errors.get(i));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user