Open GoogleCodeExporter opened 9 years ago
Passing a null pointer to the Icon is begging for problems. I think the user
deserves a
crash.
Original comment by olof.nae...@gmail.com
on 14 Feb 2010 at 5:12
Agreed, but at the same time the library allows a default constructor which
accepts
no gcn::Image (where one could be set later) and will not receive a segfault
because
the draw method checks for its existence. Should that constructor be removed
then?
Original comment by holy.smo...@gmail.com
on 15 Feb 2010 at 4:30
That does sound a bit inconsistent. Btw, please use a unified diff for your
patches,
then they provide a bit of context. :-)
Original comment by b.lindeijer
on 15 Feb 2010 at 5:30
Original issue reported on code.google.com by
holy.smo...@gmail.com
on 13 Feb 2010 at 5:39Attachments: