* 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:
Axel Dörfler
2008-10-10 23:20:59 +00:00
parent 2716cfd3d7
commit 230e325926
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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;