diff --git a/source/code/common.cc b/source/code/common.cc index c18f1d8..04fd4bb 100644 --- a/source/code/common.cc +++ b/source/code/common.cc @@ -99,7 +99,7 @@ commonTime addTotalTime(commonTime toAdd) ct.hours += toAdd.hours; ct.days += ct.hours/24; - ct.minutes += ct.hours%24; + ct.hours = ct.hours%24; ct.days += toAdd.days;