summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-20 11:22:44 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-20 11:22:44 +0000
commit9921abde166acf400a1c716c1d6f57eee1aef010 (patch)
tree9e59516c9a36799830b9074c9207a14a0013debe /src
parenta320a9a29f9c3320c09ba150633128e5c8729eec (diff)
Fix Time::all_as_seconds().
Diffstat (limited to 'src')
-rw-r--r--src/sub_time.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_time.cc b/src/sub_time.cc
index ed61cb4..7d8ebb6 100644
--- a/src/sub_time.cc
+++ b/src/sub_time.cc
@@ -156,5 +156,5 @@ Time::from_hms (int h, int m, int s, int ms)
double
Time::all_as_seconds () const
{
- return seconds() + double(milliseconds ()) / 1000;
+ return _seconds + double(milliseconds ()) / 1000;
}