summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-04-11 21:50:20 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-11 21:50:20 +0200
commit8e28db0b91839425db64c888d13bfaae6454483a (patch)
tree91c8a961c3b88475d870ad5c9d08b7ae6eb89145 /src
parentf26fc2350be12549d836af37bc439f8e09c44157 (diff)
Add some missing substitutions.HEADmain
Diffstat (limited to 'src')
-rw-r--r--src/wx/verify_dcp_result_panel.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/verify_dcp_result_panel.cc b/src/wx/verify_dcp_result_panel.cc
index 425a3eb00..2de26d172 100644
--- a/src/wx/verify_dcp_result_panel.cc
+++ b/src/wx/verify_dcp_result_panel.cc
@@ -230,6 +230,12 @@ VerifyDCPResultPanel::add(shared_ptr<const VerifyDCPJob> job, bool many)
if (auto const error = note.error()) {
message.Replace(char_to_wx("%error"), std_to_wx(*error));
}
+ if (auto const bit_depth = note.bit_depth()) {
+ message.Replace(char_to_wx("%bit_depth"), std_to_wx(fmt::to_string(*bit_depth)));
+ }
+ if (auto const issue_date = note.issue_date()) {
+ message.Replace(char_to_wx("%issue_date"), std_to_wx(*issue_date));
+ }
if (auto const size_in_pixels = note.size_in_pixels()) {
message.Replace(char_to_wx("%size_in_pixels"), wxString::Format(char_to_wx("%dx%d"), size_in_pixels->width, size_in_pixels->height));
}