kolibrios/programs/cmm/appearance/other.h
Kirill Lipatov (Leency) 4238d0ea38 CMM: rework Tabs element
git-svn-id: svn://kolibrios.org@7225 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-04-11 17:46:08 +00:00

12 lines
268 B
C

void Sort_by_Name(int a, b)
{
int j, i = a;
if (a >= b) return;
for (j = a; j <= b; j++)
if (strcmpi(files_mas[j]*304 + buf+72, files_mas[b]*304 + buf+72)<=0) {
files_mas[i] >< files_mas[j];
i++;
}
Sort_by_Name(a, i-2);
Sort_by_Name(i, b);
}