From 545dbaf1cd17cc835267c429e17aa8787557d554 Mon Sep 17 00:00:00 2001 From: James Crook Date: Mon, 29 May 2017 22:40:49 +0100 Subject: [PATCH] Bug 68 - Vertical scale only has zeros when displaying Waveform (dB) view at -48 dB --- src/widgets/Ruler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/Ruler.cpp b/src/widgets/Ruler.cpp index 85976ebd5..6ebdf4db9 100644 --- a/src/widgets/Ruler.cpp +++ b/src/widgets/Ruler.cpp @@ -614,7 +614,7 @@ wxString Ruler::LabelString(double d, bool major) wxString s; // 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; switch(mFormat) {