mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 03:05:18 +08:00
fix TerminalView possiblePropLocations IOBE
This commit is contained in:
@@ -1549,7 +1549,7 @@ public final class TerminalView extends View {
|
|||||||
|
|
||||||
propsFile = new File(possiblePropLocations[0]);
|
propsFile = new File(possiblePropLocations[0]);
|
||||||
int i = 1;
|
int i = 1;
|
||||||
while (!propsFile.exists() && i <= possiblePropLocations.length) {
|
while (!propsFile.exists() && i < possiblePropLocations.length) {
|
||||||
propsFile = new File(possiblePropLocations[i]);
|
propsFile = new File(possiblePropLocations[i]);
|
||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user