Patch level : 2.0 nopatch

Files correlati     : xvaga.dll
Ricompilazione Demo : [ ]
Commento            :

Raddrizzato l'ordine della lista dei files di una cartella


git-svn-id: svn://10.65.10.50/trunk@11711 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2004-01-19 15:30:28 +00:00
parent 88fe347a29
commit 29c81ccebc

View File

@ -3552,15 +3552,15 @@ BOOLEAN xvt_slist_add_at_elt(SLIST list, SLIST_ELT e, const char *sx, long data)
item->next = NULL;
SLIST_ELT last = NULL;
if (e != NULL)
{
// if (e != NULL) // Add at head by default (else at tail)
// {
for (SLIST_ELT i = list->head; i; i = (SLIST_ELT)i->next)
{
last = i;
if (i == e)
break;
}
}
// }
if (last == NULL)
{
item->next = list->head;