| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -54,8 +54,8 @@ void draw() | |||
| 54 | 54 | ||
| 55 | 55 | void keyPressed() | |
| 56 | 56 | { | |
| 57 | - // If the key is between 'A'(65) and 'z'(122) | ||
| 58 | - if( key >= 'A' && key <= 'z') { | ||
| 57 | + // If the key is between 'A'(65) to 'Z' and 'a' to 'z'(122) | ||
| 58 | + if((key >= 'A' && key <= 'Z') || (key >= 'a' && key <= 'z')) { | ||
| 59 | 59 | int keyIndex; | |
| 60 | 60 | if(key <= 'Z') { | |
| 61 | 61 | keyIndex = key-'A'; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments