wIconPaint: avoid crashing if icon is NULL
commitfa27215fcc3a1d11c0e95135a1c586980c01ca5f
authorRodolfo García Peñas (kix) <kix@kix.es>
Mon, 8 Apr 2013 17:40:57 +0000 (8 19:40 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 9 Apr 2013 07:30:45 +0000 (9 08:30 +0100)
tree5a65e7f191ade447a38ba000be6164365530d8a9
parent8cb744739c60441959973695c05c07fa56686430
wIconPaint: avoid crashing if icon is NULL

This patch checks that the icon exists before painting it.
src/icon.c