1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00

Bug 68 - Vertical scale only has zeros when displaying Waveform (dB) view at -48 dB

This commit is contained in:
James Crook 2017-05-29 22:40:49 +01:00
parent c7a911c265
commit 545dbaf1cd

View File

@ -614,7 +614,7 @@ wxString Ruler::LabelString(double d, bool major)
wxString s; wxString s;
// Replace -0 with 0 // Replace -0 with 0
if (d < 0.0 && d+mMinor > 0.0) if (d < 0.0 && (d+mMinor > 0.0) && ( mFormat != RealLogFormat ))
d = 0.0; d = 0.0;
switch(mFormat) { switch(mFormat) {