diff options
author | Paul Gilbert | 2019-06-22 09:59:51 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-06-22 14:40:50 -0700 |
commit | 8b509bbfee6d9c82d8f05e569f61f5781917cbda (patch) | |
tree | 260dfab4a663b342aa0e4c02168faaf4142e12e0 /engines/glk/alan2/sysdep.cpp | |
parent | 1249c335392d7cc2d5492a5bc8718b9a034fbb11 (diff) | |
download | scummvm-rg350-8b509bbfee6d9c82d8f05e569f61f5781917cbda.tar.gz scummvm-rg350-8b509bbfee6d9c82d8f05e569f61f5781917cbda.tar.bz2 scummvm-rg350-8b509bbfee6d9c82d8f05e569f61f5781917cbda.zip |
GLK: ALAN2: Warning fixes
Diffstat (limited to 'engines/glk/alan2/sysdep.cpp')
-rw-r--r-- | engines/glk/alan2/sysdep.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/glk/alan2/sysdep.cpp b/engines/glk/alan2/sysdep.cpp index dc6e0b6f95..98b8ca6d68 100644 --- a/engines/glk/alan2/sysdep.cpp +++ b/engines/glk/alan2/sysdep.cpp @@ -158,14 +158,14 @@ char *strupp(char str[]) { /* INOUT - Native string to convert */ /* The following work on ISO characters */ int isLowerCase(int c) { /* IN - ISO character to test */ - static char lowChrs[] = "abcdefghijklmnopqrstuvwxyz\340\341\342\343\344\345\346\347\351\352\353\354\355\356\357\360\361\362\363\364\365\366\370\371\372\373\374\375\376\377"; - return (c != '\0' && strchr(lowChrs, c) != 0); + static char lowChars[] = "abcdefghijklmnopqrstuvwxyz\340\341\342\343\344\345\346\347\351\352\353\354\355\356\357\360\361\362\363\364\365\366\370\371\372\373\374\375\376\377"; + return (c != '\0' && strchr(lowChars, c) != 0); } int isUpperCase(int c) { /* IN - ISO character to test */ - static char uppChrs[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337"; - return (c != '\0' && strchr(uppChrs, c) != 0); + static char upperChars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337"; + return (c != '\0' && strchr(upperChars, c) != 0); } |