Skip to content
Snippets Groups Projects
Commit 752075f3 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

picture_chain: modify the append to take care of the chain init

By default p_next is always set to NULL in a picture. We can always use it as
a proper picture chain.

When a chain becomes empty p_next goes back to zero and the "known tail" is
invalid. But we only use the tail when the front is not empty, so there is no
problem.
parent 679faa13
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment