|
|
| version 1.1, 2004/08/01 05:31:29 | version 1.3, 2004/08/13 04:08:33 |
|---|---|
| Line 328 int STRCALL mileuc_memcmp(const char *st | Line 328 int STRCALL mileuc_memcmp(const char *st |
| if (((c - 'a') & 0xff) < 26) { | if (((c - 'a') & 0xff) < 26) { |
| c -= 0x20; | c -= 0x20; |
| } | } |
| s = (BYTE)*str++; | s = (UINT8)*str++; |
| if (((s - 'a') & 0xff) < 26) { | if (((s - 'a') & 0xff) < 26) { |
| s -= 0x20; | s -= 0x20; |
| } | } |
| Line 461 int STRCALL milutf8_cmp(const char *str, | Line 461 int STRCALL milutf8_cmp(const char *str, |
| if (((s - 'a') & 0xff) < 26) { | if (((s - 'a') & 0xff) < 26) { |
| s -= 0x20; | s -= 0x20; |
| } | } |
| c = (BYTE)*cmp++; | c = (UINT8)*cmp++; |
| if (((c - 'a') & 0xff) < 26) { | if (((c - 'a') & 0xff) < 26) { |
| c -= 0x20; | c -= 0x20; |
| } | } |
| Line 569 char * STRCALL milutf8_chr(const char *s | Line 569 char * STRCALL milutf8_chr(const char *s |
| // ---- other | // ---- other |
| int STRCALL milstr_extendcmp(const char *str, const char *cmp) { | int STRCALL milstr_extendcmp(const OEMCHAR *str, const OEMCHAR *cmp) { |
| int c; | int c; |
| int s; | int s; |
| do { | do { |
| while(1) { | while(1) { |
| c = (BYTE)*cmp++; | c = (UINT8)*cmp++; |
| if (!c) { | if (!c) { |
| return(0); | return(0); |
| } | } |
| Line 653 long STRCALL milstr_solveHEX(const OEMCH | Line 653 long STRCALL milstr_solveHEX(const OEMCH |
| long ret; | long ret; |
| int i; | int i; |
| char c; | OEMCHAR c; |
| ret = 0; | ret = 0; |
| for (i=0; i<8; i++) { | for (i=0; i<8; i++) { |