davemachado / Password-Generator-Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selecting numbers and capital letters generates numbers only

davemachado opened this issue · comments

line 96: randomNum = getRandomNumber(numberOfCategories, 1);

Random number is pulled from the range sent in as arguments to getRandomNumber(). When the numberOfCategories is 2, the number generator will either return 1 or 2, never 3 (the number code for capital letters).

Fixed in Commit 4883706

ezoic increase your site revenue