fix TerminalView possiblePropLocations IOBE

This commit is contained in:
rakslice 2021-01-16 19:54:11 -08:00
parent 78cdaef6d2
commit fe584940e1
1 changed files with 1 additions and 1 deletions

View File

@ -1549,7 +1549,7 @@ public final class TerminalView extends View {
propsFile = new File(possiblePropLocations[0]);
int i = 1;
while (!propsFile.exists() && i <= possiblePropLocations.length) {
while (!propsFile.exists() && i < possiblePropLocations.length) {
propsFile = new File(possiblePropLocations[i]);
i += 1;
}