Subversion Repositories Kolibri OS

Rev

Rev 4078 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. void Sort_by_Name(int a, b)
  2. {
  3.         int j, i = a;
  4.         if (a >= b) return;
  5.         for (j = a; j <= b; j++)
  6.                 if (strcmpi(files_mas[j]*304 + buf+72, files_mas[b]*304 + buf+72)<=0) {
  7.                         files_mas[i] >< files_mas[j];
  8.                         i++;
  9.                 }
  10.         Sort_by_Name(a, i-2);
  11.         Sort_by_Name(i, b);
  12. }