Skip to content

Commit

Permalink
Launcher: fix crash of command line
Browse files Browse the repository at this point in the history
  • Loading branch information
glKarin committed Nov 12, 2024
1 parent a685839 commit e7f2348
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/android.changelog
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@

2
2 changes: 1 addition & 1 deletion Q3E/src/main/java/com/n0n3m4/q3e/karin/KidTechCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ private static String SkipBlank(String str, int start)

private static String ReadWord(String str, int start)
{
if(str.charAt(start) == '\"')
if(start < str.length() && str.charAt(start) == '\"')
{
return ReadWordWithQuotes(str, start);
}
Expand Down

0 comments on commit e7f2348

Please sign in to comment.