diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-04-22 21:20:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-04-22 21:20:16 +0200 |
| commit | db491c0c497be98c0d5c73822b22f0c65ba9590e (patch) | |
| tree | 3dcc328f98e779697b2f570a536510630f461063 | |
| parent | 7fcd6582a19519331b71c2662b6f9e734ee9b2d9 (diff) | |
Add some missing replacements.
| -rw-r--r-- | src/wx/verify_dcp_dialog.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/verify_dcp_dialog.cc b/src/wx/verify_dcp_dialog.cc index de8982c8d..07e3589e5 100644 --- a/src/wx/verify_dcp_dialog.cc +++ b/src/wx/verify_dcp_dialog.cc @@ -97,6 +97,15 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr<VerifyDCPJob> job if (note.line()) { message.Replace("%l", std_to_wx(dcp::raw_convert<string>(note.line().get()))); } + if (note.frame()) { + message.Replace("%frame", std_to_wx(dcp::raw_convert<string>(note.frame().get()))); + } + if (note.component()) { + message.Replace("%component", std_to_wx(dcp::raw_convert<string>(note.component().get()))); + } + if (note.size()) { + message.Replace("%size", std_to_wx(dcp::raw_convert<string>(note.size().get()))); + } add_bullet (note.type(), message); counts[note.type()]++; }; |
