Alphabetically sort the symbols/names to make it a bit more readable.
This commit is contained in:
blythe%netscape.com 2002-11-18 21:54:18 +00:00
Родитель b45c62b0be
Коммит 7f0b762305
1 изменённых файлов: 32 добавлений и 0 удалений

Просмотреть файл

@ -212,6 +212,14 @@ static int moduleCompare(const void* in1, const void* in2)
{
retval = -1;
}
else
{
retval = strcmp(one->mModule, two->mModule);
if(0 > oneSize && 0 > twoSize)
{
retval *= -1;
}
}
return retval;
}
@ -235,6 +243,14 @@ static int segmentCompare(const void* in1, const void* in2)
{
retval = -1;
}
else
{
retval = strcmp(one->mSegment, two->mSegment);
if(0 > one->mSize && 0 > two->mSize)
{
retval *= -1;
}
}
return retval;
}
@ -258,6 +274,14 @@ static int objectCompare(const void* in1, const void* in2)
{
retval = -1;
}
else
{
retval = strcmp(one->mObject, two->mObject);
if(0 > one->mSize && 0 > two->mSize)
{
retval *= -1;
}
}
return retval;
}
@ -281,6 +305,14 @@ static int symbolCompare(const void* in1, const void* in2)
{
retval = -1;
}
else
{
retval = strcmp(one->mSymbol, two->mSymbol);
if(0 > one->mSize && 0 > two->mSize)
{
retval *= -1;
}
}
return retval;
}