Skip to content

Commit

Permalink
fixed normal search
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Oct 17, 2024
1 parent 62e9c9c commit 5cdd85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fn main() {

let mut search_english_list = true;

if args[1] == "latin" {
if args.len() > 1 && args[1] == "latin" {
search_english_list = false;
}

Expand Down

0 comments on commit 5cdd85e

Please sign in to comment.