* The network usage data sources are now actually using a single scale as
intended before. * Also found a bug in the scales that prevented them from working. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27962 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -115,7 +115,7 @@ Scale::Update(int64 value)
|
||||
{
|
||||
if (!fInitialized || fMinimumValue > value)
|
||||
fMinimumValue = value;
|
||||
if (!fInitialized || fMaximumValue > value)
|
||||
if (!fInitialized || fMaximumValue < value)
|
||||
fMaximumValue = value;
|
||||
|
||||
fInitialized = true;
|
||||
|
||||
Reference in New Issue
Block a user