mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
cc_item_picture: fix wrong operator in width calculation
Origin commit data
------------------
Branch: ni/coolstream
Commit: 874f54af4b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-27 (Thu, 27 Oct 2016)
Origin message was:
------------------
- cc_item_picture: fix wrong operator in width calculation
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -224,7 +224,7 @@ void CComponentsPicture::initCCItem()
|
|||||||
width = GetWidth4FB_HW_ACC(x+fr_thickness, width-2*fr_thickness)+2*fr_thickness;
|
width = GetWidth4FB_HW_ACC(x+fr_thickness, width-2*fr_thickness)+2*fr_thickness;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if (keep_dy_aspect & dx){
|
if (keep_dy_aspect && dx){
|
||||||
float w_ratio = float(width)*100/(float)dx;
|
float w_ratio = float(width)*100/(float)dx;
|
||||||
height = int(w_ratio*(float)dy/100);
|
height = int(w_ratio*(float)dy/100);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user