aboutsummaryrefslogtreecommitdiff
path: root/src/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/time.h')
-rwxr-xr-xsrc/time.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/time.h b/src/time.h
index 3afc70b..81111c1 100755
--- a/src/time.h
+++ b/src/time.h
@@ -54,7 +54,11 @@ struct workday{
moment call;
moment wrap;
moment planned_wrap;
- timeblock blocks[14];
+ timeblock blocks[13];
+ int total_timeblocks;
+ // total_timeblocks exsists because blocks[13] can't be shrunk,
+ // so total_timeblocks is the point at which blocks[13] just contains
+ // garbage data.
//
// 1. call
// 2. sleepbreach