mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
cc_draw: try to fix logic inside setFrameThickness()
Signed values had the same effects like unsigned values. Therefore frames were enabled with default control value -1 too.
This commit is contained in:
@@ -237,7 +237,7 @@ void CCDraw::setFrameThickness(const int& thickness)
|
||||
|
||||
//ensure enabled frame if frame width > 0
|
||||
cc_enable_frame = false;
|
||||
if (fr_thickness)
|
||||
if (fr_thickness > 0)
|
||||
cc_enable_frame = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user