diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-04-16 18:27:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-04-16 18:27:27 +0200 |
| commit | 6c0d58aca6c51128ecc47aa6d585c1221fd55c3d (patch) | |
| tree | fed1e0c393d2f7396604d9b97587da76942d9cc0 /src | |
| parent | 0198f1d4e9d763dfa05e0f4291f003b0d1bb9e03 (diff) | |
Fix some confusing use of period in a timecode (#3148).
I think it should just be colons all the way.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/util.cc | 2 | ||||
| -rw-r--r-- | src/wx/controls.cc | 2 | ||||
| -rw-r--r-- | src/wx/wx_util.cc | 2 |
3 files changed, 3 insertions, 3 deletions
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<int>(f)); + snprintf(buffer, sizeof(buffer), "%02d:%02d:%02d:%02d", h, m, s, static_cast<int>(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); } |
