From 6c0d58aca6c51128ecc47aa6d585c1221fd55c3d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 16 Apr 2026 18:27:07 +0200 Subject: Fix some confusing use of period in a timecode (#3148). I think it should just be colons all the way. --- src/lib/util.cc | 2 +- src/wx/controls.cc | 2 +- src/wx/wx_util.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/util.cc b/src/lib/util.cc index 1f5bec22c..60b93a0c4 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -171,7 +171,7 @@ time_to_hmsf(DCPTime time, Frame rate) m -= h * 60; char buffer[64]; - snprintf(buffer, sizeof(buffer), "%02d:%02d:%02d.%02d", h, m, s, static_cast(f)); + snprintf(buffer, sizeof(buffer), "%02d:%02d:%02d:%02d", h, m, s, static_cast(f)); return buffer; } diff --git a/src/wx/controls.cc b/src/wx/controls.cc index fce3fd7eb..708cc9a5d 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -279,7 +279,7 @@ Controls::update_position_label() { if (!_film) { checked_set(_frame_number, char_to_wx("0")); - checked_set(_timecode, char_to_wx("0:0:0.0")); + checked_set(_timecode, char_to_wx("0:0:0:0")); return; } diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 5255e5a39..8e86a5408 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -473,7 +473,7 @@ time_to_timecode(DCPTime t, double fps) int const s = floor(w); w -= s; int const f = lrint(w * fps); - return wxString::Format(char_to_wx("%02d:%02d:%02d.%02d"), h, m, s, f); + return wxString::Format(char_to_wx("%02d:%02d:%02d:%02d"), h, m, s, f); } -- cgit v1.2.3