Diff for /xmil/common/milstr.c between versions 1.1 and 1.4

version 1.1, 2004/08/01 05:31:29 version 1.4, 2004/08/18 15:42:32
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 619  int STRCALL milstr_getarg(OEMCHAR *str,  Line 619  int STRCALL milstr_getarg(OEMCHAR *str, 
   
         int             ret = 0;          int             ret = 0;
         OEMCHAR *p;          OEMCHAR *p;
         BOOL    quot;          BRESULT quot;
   
         while(maxarg--) {          while(maxarg--) {
                 quot = FALSE;                  quot = FALSE;
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++) {

Removed from v.1.1  
changed lines
  Added in v.1.4


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