mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
CComponentsHeader: fix brace error
suggest explicit braces to avoid ambiguous ‘else’
This commit is contained in:
@@ -330,10 +330,10 @@ void CComponentsHeader::initLogo()
|
|||||||
//set final logo position
|
//set final logo position
|
||||||
int x_logo = 0;
|
int x_logo = 0;
|
||||||
if (cch_logo.Align == CC_LOGO_RIGHT){
|
if (cch_logo.Align == CC_LOGO_RIGHT){
|
||||||
if (cch_caption_align == CTextBox::RIGHT)
|
if (cch_caption_align == CTextBox::RIGHT){
|
||||||
if (cch_text_obj)
|
if (cch_text_obj)
|
||||||
x_logo = cch_text_obj->getXPos() - cch_logo_obj->getWidth();
|
x_logo = cch_text_obj->getXPos() - cch_logo_obj->getWidth();
|
||||||
else
|
}else
|
||||||
x_logo = x_logo_right;
|
x_logo = x_logo_right;
|
||||||
}
|
}
|
||||||
if (cch_logo.Align == CC_LOGO_LEFT)
|
if (cch_logo.Align == CC_LOGO_LEFT)
|
||||||
|
Reference in New Issue
Block a user