mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 06:25:26 +08:00
GP-1593 - fixed bug introduced by GP-1593
This commit is contained in:
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user