Browse Source

Fix < 1 sec crash as @Willy-JL advised

0w0mewo 1 year ago
parent
commit
23e4affb62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      views/countdown_view.c

+ 1 - 1
views/countdown_view.c

@@ -219,7 +219,7 @@ static void handle_time_setting_updown(CountDownTimView* cdv, CountDownViewCmd c
                 break;
             }
 
-            if(count < 0) {
+            if(count <= 0) {
                 count = 1;
             }