CComponentsHeader: fix brace error

suggest explicit braces to avoid ambiguous ‘else’


Origin commit data
------------------
Commit: 1b2f1d320d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-11 (Thu, 11 May 2017)
This commit is contained in:
2017-05-11 08:35:24 +02:00
parent 19b084cb4c
commit e2fce7a702

View File

@@ -330,10 +330,10 @@ void CComponentsHeader::initLogo()
//set final logo position
int x_logo = 0;
if (cch_logo.Align == CC_LOGO_RIGHT){
if (cch_caption_align == CTextBox::RIGHT)
if (cch_caption_align == CTextBox::RIGHT){
if (cch_text_obj)
x_logo = cch_text_obj->getXPos() - cch_logo_obj->getWidth();
else
}else
x_logo = x_logo_right;
}
if (cch_logo.Align == CC_LOGO_LEFT)