diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 01:06:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 01:06:04 +0100 |
| commit | 9e523d8a4062ad52330dff6c2ba50e54184c9bb2 (patch) | |
| tree | cc10da19d90f9ad1d17066e152602c3f88e5bf2b /src/dcp_time.cc | |
| parent | 242d42f32a1fbcf9fb1fe64d8c98e907e407703d (diff) | |
No-op: whitespace.
Diffstat (limited to 'src/dcp_time.cc')
| -rw-r--r-- | src/dcp_time.cc | 6 |
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; |
