mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge remote-tracking branch 'origin/GP-1-dragonmacher-loop-counter-fix'
(#8104)
This commit is contained in:
commit
d45a8d4c75
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue