aboutsummaryrefslogtreecommitdiff
path: root/src/time.cpp
diff options
context:
space:
mode:
authorSan Jacobs2023-05-17 02:48:31 +0200
committerSan Jacobs2023-05-17 02:48:31 +0200
commit82ebfcc675eec48145a86eff2a569c1a5351cdd3 (patch)
tree3600af60a62693312021095c0ac1878761cf5922 /src/time.cpp
parent38c882decf01a18a153ff590f166821dae69de31 (diff)
parentb99647e67bb4be7367b111ecdac62b1ee9f52f7e (diff)
downloadsatscalc-82ebfcc675eec48145a86eff2a569c1a5351cdd3.tar.gz
satscalc-82ebfcc675eec48145a86eff2a569c1a5351cdd3.tar.bz2
satscalc-82ebfcc675eec48145a86eff2a569c1a5351cdd3.zip
Merge branch 'master' into odin
Diffstat (limited to 'src/time.cpp')
-rwxr-xr-xsrc/time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time.cpp b/src/time.cpp
index c9609ad..0aa7bd0 100755
--- a/src/time.cpp
+++ b/src/time.cpp
@@ -94,7 +94,7 @@ delta moment::operator-(const moment& other) const {
while(decumulator != benchmark) {
wind(decumulator, -1, 0, 0);
- accumulator.minutes = accumulator.minutes+1;
+ accumulator.minutes++;
}
while(accumulator.minutes > 59) {
accumulator.minutes -= 60;