mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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