summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-04-16 18:27:07 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-16 18:27:27 +0200
commit6c0d58aca6c51128ecc47aa6d585c1221fd55c3d (patch)
treefed1e0c393d2f7396604d9b97587da76942d9cc0 /src/wx
parent0198f1d4e9d763dfa05e0f4291f003b0d1bb9e03 (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/wx')
-rw-r--r--src/wx/controls.cc2
-rw-r--r--src/wx/wx_util.cc2
2 files changed, 2 insertions, 2 deletions
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);
}