Fixed a couple of bugs related to changing CDs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14236 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -498,7 +498,11 @@ CDPlayer::UpdateCDInfo(void)
|
||||
bool trackresult = engine->ContentWatcher()->GetContent(&CDName,&trackNames);
|
||||
|
||||
if(currentTrack < 0)
|
||||
{
|
||||
fCDTitle->SetText("");
|
||||
fCurrentTrack->SetText("");
|
||||
return;
|
||||
}
|
||||
|
||||
if(currentTrack == 0)
|
||||
currentTrack++;
|
||||
|
||||
Reference in New Issue
Block a user