Skip to content

Commit

Permalink
Show correct # of letters in stats command
Browse files Browse the repository at this point in the history
  • Loading branch information
Skye-31 committed Mar 1, 2022
1 parent dc7045e commit 5d70842
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions commands/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,10 @@ func getTitle(i int) string {
return "Total"
}
return map[int]string{
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
7: "7",
8: "8",
}[i] + " letter words"
}[i+3] + " letter words"
}

0 comments on commit 5d70842

Please sign in to comment.