From a9caa07318c7d6402fb89a7ff4585d296f5480f2 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 25 Nov 2012 22:26:27 +0100 Subject: [PATCH] CComponentsHeader: reset icon width, if no icon is defined --- src/gui/components/components.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/components.cpp b/src/gui/components/components.cpp index 50019702b..a6697f328 100644 --- a/src/gui/components/components.cpp +++ b/src/gui/components/components.cpp @@ -1800,7 +1800,7 @@ void CComponentsHeader::setHeaderIcon(const char* icon_name) void CComponentsHeader::initCCHeaderIcon() { if (cch_icon_name == NULL) { -// cch_icon_w = 5; + cch_icon_w = cch_btn_offset; return; }