Discussion:
[Clanlib-devel] Pacman list iterating bug
Sergey Antonov
2006-12-04 17:13:38 UTC
Permalink
Hello clanlib-devel,

this patch fixes a bug in Pacman example, where the list was iterated incorrectly after deleting an element.

Also there is a similar bug in CL_Menu_Generic::remove_node(), but I'm not sure how it is should be fixed. (possible fixes: return after erase or adding an "else" case with ++it)
--
Best regards,
Sergey
Loading...