]> git.sur5r.net Git - cc65/commitdiff
The Apple2 has only upper case chars.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 7 Apr 2006 17:49:38 +0000 (17:49 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 7 Apr 2006 17:49:38 +0000 (17:49 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3722 b7a2c559-68d2-44c3-8de9-860c34a00d81

samples/mousedemo.c

index e3170dab30cc207402487b8c4627954631403d93..c8dc6302c962443b5975963e0a7203bcffc48ecd 100644 (file)
@@ -156,8 +156,8 @@ int main (void)
     Done = 0;
     ShowState (Invisible = 1);
     while (!Done) {
-       if (kbhit()) {
-           switch (cgetc()) {
+       if (kbhit ()) {                
+           switch (tolower (cgetc ())) {
                case 'd':
                    BREAK();
                    break;