mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 15:41:00 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
src/gui/dboxinfo.cpp
src/gui/infoviewer_bb.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9e8dd73320
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-02 (Mon, 02 Oct 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -111,7 +111,7 @@ void CProgressBar::initDimensions()
|
||||
pb_y = (cc_parent ? cc_yr : y) + fr_thickness;
|
||||
|
||||
// width for active bar with current value
|
||||
pb_active_width = max(0, pb_last_width);
|
||||
pb_active_width = std::max(0, pb_last_width);
|
||||
if (pb_max_value)
|
||||
pb_active_width = (width - 2*fr_thickness) * pb_value / pb_max_value;
|
||||
|
||||
|
Reference in New Issue
Block a user