summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-17 05:27:43 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-17 05:27:43 -0500
commit22c1b867f03e4a495f9e47c899d1fdfcaec3a659 (patch)
tree851bf7423959048cf8f26d19bd7880450a97495e /src/textual.cc
parent018a2a8e7b1ad490e3ff69f3014aeb51abb80929 (diff)
downloadfork-ledger-22c1b867f03e4a495f9e47c899d1fdfcaec3a659.tar.gz
fork-ledger-22c1b867f03e4a495f9e47c899d1fdfcaec3a659.tar.bz2
fork-ledger-22c1b867f03e4a495f9e47c899d1fdfcaec3a659.zip
Added option --day-break
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 3555ea4d..8856af5d 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -486,8 +486,7 @@ void instance_t::clock_out_directive(char * line, bool /*capitalized*/)
n ? n : "",
end ? end : "");
- timelog.clock_out(event);
- context.count++;
+ context.count += timelog.clock_out(event);
}
#endif // TIMELOG_SUPPORT