From 42fcb99b389139c974742ad807a5a6da61231a5c Mon Sep 17 00:00:00 2001 From: Mingjie Shen Date: Wed, 26 Apr 2023 22:43:22 -0400 Subject: [PATCH] StopWatch: Add an extra space to the string without the hour so that it's just as long as with the hour. --- src/displayapp/screens/StopWatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/displayapp/screens/StopWatch.cpp b/src/displayapp/screens/StopWatch.cpp index d2b81154..f0359da4 100644 --- a/src/displayapp/screens/StopWatch.cpp +++ b/src/displayapp/screens/StopWatch.cpp @@ -200,7 +200,7 @@ void StopWatch::stopLapBtnEventHandler() { TimeSeparated_t times = convertTicksToTimeSegments(laps[i]); char buffer[17]; if (times.hours == 0) { - snprintf(buffer, sizeof(buffer), "#%2d %2d:%02d.%02d\n", i + 1, times.mins, times.secs, times.hundredths); + snprintf(buffer, sizeof(buffer), "#%2d %2d:%02d.%02d\n", i + 1, times.mins, times.secs, times.hundredths); } else { snprintf(buffer, sizeof(buffer), "#%2d %2d:%02d:%02d.%02d\n", i + 1, times.hours, times.mins, times.secs, times.hundredths); }