aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSan Jacobs2023-05-17 02:47:55 +0200
committerSan Jacobs2023-05-17 02:47:55 +0200
commitb99647e67bb4be7367b111ecdac62b1ee9f52f7e (patch)
treea1e6fab64f79175aede3d3e11f08581910ad2b52 /src
parenta5307aa19bf6216fee95599df00c15d775d0e491 (diff)
downloadsatscalc-b99647e67bb4be7367b111ecdac62b1ee9f52f7e.tar.gz
satscalc-b99647e67bb4be7367b111ecdac62b1ee9f52f7e.tar.bz2
satscalc-b99647e67bb4be7367b111ecdac62b1ee9f52f7e.zip
Fixed a silly weirdness
Diffstat (limited to 'src')
-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;