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:
DarkWyrm
2005-09-24 17:08:12 +00:00
parent f66f06160a
commit 53960be31f
3 changed files with 17 additions and 2 deletions
+4
View File
@@ -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++;