Compatibility changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1935 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -373,6 +373,9 @@ void BStatusBar::Update(float delta, const char *text, const char *trailingText)
|
||||
{
|
||||
fCurrent += delta;
|
||||
|
||||
if (fCurrent > fMax)
|
||||
fCurrent = fMax;
|
||||
|
||||
if (fText)
|
||||
free(fText);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user