mirror of https://github.com/termux/termux-app
fix TerminalView possiblePropLocations IOBE
This commit is contained in:
parent
78cdaef6d2
commit
fe584940e1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue