Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv13262
Modified Files:
Tag: Audacity_UmixIt
TrackPanel.cpp
Log Message:
bug fix
Index: TrackPanel.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v
retrieving revision 1.212.2.15.2.2
retrieving revision 1.212.2.15.2.3
diff -u -d -r1.212.2.15.2.2 -r1.212.2.15.2.3
--- TrackPanel.cpp 23 Nov 2006 03:45:43 -0000 1.212.2.15.2.2
+++ TrackPanel.cpp 29 Nov 2006 03:30:28 -0000 1.212.2.15.2.3
@@ -1178,8 +1178,10 @@
// Update lyrics display
if (p->GetAudioIOToken()>0) {
LyricsWindow* lyricsWindow = p->GetLyricsWindow();
- Lyrics *lyrics = lyricsWindow->GetLyricsPanel();
- lyrics->Update(gAudioIO->GetStreamTime());
+ if (lyricsWindow) {
+ Lyrics *lyrics = lyricsWindow->GetLyricsPanel();
+ lyrics->Update(gAudioIO->GetStreamTime());
+ }
}
// Each time the loop, check to see if we were playing or
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs