1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

Fix Print command. Unitialized variable made it useless.

This commit is contained in:
Paul Licameli 2015-05-28 22:44:13 -04:00
parent 667c1c35d4
commit 28e9ed8c21

View File

@ -86,6 +86,7 @@ bool AudacityPrintout::OnPrintPage(int WXUNUSED(page))
viewInfo.h = 0.0;
viewInfo.screen = mTracks->GetEndTime() - viewInfo.h;
viewInfo.total = viewInfo.screen;
viewInfo.zoom = width / viewInfo.screen;
int y = rulerPageHeight;
TrackListIterator iter(mTracks);