summaryrefslogtreecommitdiff
path: root/src/dcp_time.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-24 14:13:37 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-24 14:13:37 +0100
commit2ae92dcc97765deb2845dd07a338858aeb375cb3 (patch)
tree6f0f8dec0b81a0a7d56e8dbc3a87f0986dae6748 /src/dcp_time.cc
parent13db82c73af330ffbc7a813cd38c5bef36d5b54c (diff)
No-op: whitespace.
Diffstat (limited to 'src/dcp_time.cc')
-rw-r--r--src/dcp_time.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc
index 43c1ee49..8101bed1 100644
--- a/src/dcp_time.cc
+++ b/src/dcp_time.cc
@@ -59,7 +59,7 @@ Time::set (double seconds, int tcr_)
{
s = floor (seconds);
tcr = tcr_;
-
+
e = int (round ((seconds - s) * tcr));
if (s >= 60) {
@@ -86,7 +86,7 @@ Time::Time (string time, int tcr_)
if (b.size() != 4) {
boost::throw_exception (DCPReadError ("unrecognised time specification"));
}
-
+
h = raw_convert<int> (b[0]);
m = raw_convert<int> (b[1]);
s = raw_convert<int> (b[2]);
@@ -218,7 +218,7 @@ dcp::operator- (Time a, Time b)
} else {
r.tcr = a.tcr;
}
-
+
r.e = a.e - b.e;
if (r.e < 0) {
r.e += r.tcr;