aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSan Jacobs2022-07-28 01:11:52 +0200
committerSan Jacobs2022-07-28 01:11:52 +0200
commit799db65d26bbee7ea3c368ef9ea9c7f533cf92a7 (patch)
treeb4e6335ad02198b49326a99cf086dbea096b5d6c /src/main.cpp
parent157f8160bdb1a1cf0c91c861ea4daceb6a954518 (diff)
downloadsatscalc-799db65d26bbee7ea3c368ef9ea9c7f533cf92a7.tar.gz
satscalc-799db65d26bbee7ea3c368ef9ea9c7f533cf92a7.tar.bz2
satscalc-799db65d26bbee7ea3c368ef9ea9c7f533cf92a7.zip
Fixed: lunch() broken due to bad timesplit comment
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a9d1543..cc9cd43 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/
*/
-// TODO: Make system that determines the price of each timeblock in workday
// TODO: Add ruleset selector (That only allows you to pick the advert ruleset at first)
#include <iostream>
@@ -87,7 +86,8 @@ int main(int argc, char* argv[])
for(int i=0; i<current_workday->total_timeblocks; i++) {
std::cout << "Timeblock " << i << ": " << timeprint(current_workday->blocks[i])
- << ". Total hours: " << current_workday->blocks[i].hourcount() << std::endl;
+ << ". Total hours: " << current_workday->blocks[i].hourcount()
+ << "\t Valuefactor: " << current_workday->blocks[i].valuefactor << std::endl;
}
previous_wrap = wraptime;
}