add contribution information

This commit is contained in:
Jinhao
2018-12-07 05:30:11 +08:00
parent 32333c0900
commit 6378c3bf3c
2 changed files with 11 additions and 7 deletions

View File

@@ -381,11 +381,8 @@ namespace nana{ namespace drawerbase
{
if(img.empty())
{
if(attr_.icon)
{
delete attr_.icon;
attr_.icon = 0;
}
delete attr_.icon;
attr_.icon = nullptr;
return;
}