Fixed bug list code.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@13 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
704d1bfe6b
commit
4eaa5467cf
@ -596,6 +596,7 @@ void fgListAppend(SFG_List *list, SFG_Node *node)
|
|||||||
|
|
||||||
if ( (ln = list->Last) != NULL )
|
if ( (ln = list->Last) != NULL )
|
||||||
{
|
{
|
||||||
|
ln->Next = node;
|
||||||
node->Prev = ln;
|
node->Prev = ln;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user