# HG changeset patch # User Chris Cannam # Date 1504201563 -3600 # Node ID 04ce84f21af3d4d6d3dfc692ce3eef614ed454cb # Parent 91001e2bb96ae1f715934b4b18bd216b0e3a0cfe# Parent 8b7d6c1e1ab763d27a045f0a305bf951c44b6018 Merge diff -r 8b7d6c1e1ab7 -r 04ce84f21af3 base/ScaleTickIntervals.h --- a/base/ScaleTickIntervals.h Thu Jul 20 14:52:49 2017 +0100 +++ b/base/ScaleTickIntervals.h Thu Aug 31 18:46:03 2017 +0100 @@ -259,6 +259,9 @@ } static Tick makeTick(Display display, int precision, double value) { + if (value == -0.0) { + value = 0.0; + } const int buflen = 40; char buffer[buflen]; snprintf(buffer, buflen,