Diff for /xmil/common/milstr.c between versions 1.2 and 1.3

version 1.2, 2004/08/03 12:50:54 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 576  int STRCALL milstr_extendcmp(const OEMCH Line 576  int STRCALL milstr_extendcmp(const OEMCH
   
         do {          do {
                 while(1) {                  while(1) {
                         c = (BYTE)*cmp++;                          c = (UINT8)*cmp++;
                         if (!c) {                          if (!c) {
                                 return(0);                                  return(0);
                         }                          }

Removed from v.1.2  
changed lines
  Added in v.1.3


RetroPC.NET-CVS <cvs@retropc.net>