aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSan Jacobs2022-08-08 07:15:37 +0200
committerSan Jacobs2022-08-08 07:15:37 +0200
commite658e00804690c18ea1e44533e9c1385216e04ff (patch)
treed218fbf7ac821a42148d9e9506a9151e9d613a4a
parent8ee3309484ae12ec1abb72b097499c79656da657 (diff)
downloadsatscalc-e658e00804690c18ea1e44533e9c1385216e04ff.tar.gz
satscalc-e658e00804690c18ea1e44533e9c1385216e04ff.tar.bz2
satscalc-e658e00804690c18ea1e44533e9c1385216e04ff.zip
Small fix to ยง6.12A
-rwxr-xr-xsrc/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f02a046..ce5c8c3 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -228,7 +228,7 @@ done:
day_price = dayrate + (day_length * hourly_rate);
} else if((each_day.call.hours < 6 || each_day.call.hours >= 10) &&
- (each_day.wrap.hours >= 22 || each_day.wrap.hours <= 10)){
+ (each_day.wrap.hours > 22 || each_day.wrap.hours <= 10)){
if(day_price < dayrate){
day_price = dayrate;