Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
Lains authored Feb 15, 2020
1 parent 32a9ead commit 551e13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/Column.vala
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ namespace Khronos {
if (start) {
sec += 1;
column_time_label.label = "%u hrs, %u mins, %u secs".printf(hrs, min, sec);
if (sec > 60) {
if (sec >= 60) {
sec = 0;
min += 1;
column_time_label.label = "%u hrs, %u mins".printf(hrs, min);
if (min > 60) {
if (min >= 60) {
min = 0;
hrs += 1;
column_time_label.label = "%u hrs".printf(hrs);
Expand Down

0 comments on commit 551e13b

Please sign in to comment.