diff options
author | San Jacobs | 2023-05-17 02:47:55 +0200 |
---|---|---|
committer | San Jacobs | 2023-05-17 02:47:55 +0200 |
commit | b99647e67bb4be7367b111ecdac62b1ee9f52f7e (patch) | |
tree | a1e6fab64f79175aede3d3e11f08581910ad2b52 | |
parent | a5307aa19bf6216fee95599df00c15d775d0e491 (diff) | |
download | satscalc-b99647e67bb4be7367b111ecdac62b1ee9f52f7e.tar.gz satscalc-b99647e67bb4be7367b111ecdac62b1ee9f52f7e.tar.bz2 satscalc-b99647e67bb4be7367b111ecdac62b1ee9f52f7e.zip |
Fixed a silly weirdness
-rwxr-xr-x | src/time.cpp | 2 |
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; |