CComponentsHeader: reset icon width, if no icon is defined

This commit is contained in:
2012-11-25 22:26:27 +01:00
parent 764dbcd429
commit a9caa07318

View File

@@ -1800,7 +1800,7 @@ void CComponentsHeader::setHeaderIcon(const char* icon_name)
void CComponentsHeader::initCCHeaderIcon() void CComponentsHeader::initCCHeaderIcon()
{ {
if (cch_icon_name == NULL) { if (cch_icon_name == NULL) {
// cch_icon_w = 5; cch_icon_w = cch_btn_offset;
return; return;
} }