diff --git a/terminal-view/src/main/java/com/termux/view/TerminalView.java b/terminal-view/src/main/java/com/termux/view/TerminalView.java index 43392523..41fe31da 100644 --- a/terminal-view/src/main/java/com/termux/view/TerminalView.java +++ b/terminal-view/src/main/java/com/termux/view/TerminalView.java @@ -1547,8 +1547,8 @@ public final class TerminalView extends View { }; propsFile = new File(possiblePropLocations[0]); - int i = 1; - while (!propsFile.exists() && i <= possiblePropLocations.length) { + int i = 0; + while (!propsFile.exists() && i < possiblePropLocations.length) { propsFile = new File(possiblePropLocations[i]); i += 1; }