Subversion Repositories wimsdev

Rev

Rev 14711 | Rev 15324 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14711 Rev 14712
Line 40... Line 40...
40
    double dd=(pp1->val)-(pp2->val);
40
    double dd=(pp1->val)-(pp2->val);
41
    if(dd>0) return 1;
41
    if(dd>0) return 1;
42
    if(dd<0) return -1;
42
    if(dd<0) return -1;
43
    return 0;
43
    return 0;
44
  }
44
  }
45
  if(_sort_nocase) return strcasecmp(pp1->str,pp2->str);
45
  if(_sort_nocase) return mystrcmp(pp1->str,pp2->str);
46
  else return strcmp(pp1->str,pp2->str);
46
  else return strcmp(pp1->str,pp2->str);
47
}
47
}
48
 
48
 
49
int _char_sorter(const void *c1, const void *c2)
49
int _char_sorter(const void *c1, const void *c2)
50
{
50
{