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:
cjp 2001-07-29 16:03:07 +00:00
parent 704d1bfe6b
commit 4eaa5467cf

View File

@ -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