mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-1593 - fixed bug introduced by GP-1593
This commit is contained in:
parent
fa38ad285d
commit
043f57d04a
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ public class IndexMap {
|
||||||
* except for the last line of a block which may end part way in the line.
|
* except for the last line of a block which may end part way in the line.
|
||||||
*/
|
*/
|
||||||
int getLastActiveFactoryIndex(BigInteger index, FieldFactory[] factories) {
|
int getLastActiveFactoryIndex(BigInteger index, FieldFactory[] factories) {
|
||||||
for (int i = factories.length - 1; i > 0; i--) {
|
for (int i = factories.length - 1; i >= 0; i--) {
|
||||||
if (factories[i].isActive(index)) {
|
if (factories[i].isActive(index)) {
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue