From 7c35254b53b5b1ed6d5a80255ccd265cdcff222c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Oct 2014 20:39:32 +0100 Subject: Forward-port heinous time thinko from 0.x. --- src/dcp_time.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dcp_time.cc b/src/dcp_time.cc index 35cd747a..e2803a53 100644 --- a/src/dcp_time.cc +++ b/src/dcp_time.cc @@ -59,12 +59,12 @@ Time::set (double ss) t = (int (round (ss * 1000)) % 1000) / 4; s = floor (ss); - if (s > 60) { + if (s >= 60) { m = s / 60; s -= m * 60; } - if (m > 60) { + if (m >= 60) { h = m / 60; m -= h * 60; } -- cgit v1.2.3