summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-08 23:53:34 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-08 23:53:34 +0100
commit05f7b31f3b5994837aa5b1a69db3c5761b34261d (patch)
tree5ceccedbd9b16b5572cccabd3d3956e6ec9ee807 /src
parent216166d7a5457815917472daffd7ca18e1c31a3a (diff)
Use remove_parameters in one more place.
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index bc85aed5..06d4633b 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -228,7 +228,7 @@ DCP::read (vector<dcp::VerificationNote>* notes, bool ignore_incorrect_picture_m
}
/* Remove any optional parameters (after ;) */
- pkl_type = pkl_type->substr(0, pkl_type->find(";"));
+ pkl_type = remove_parameters(*pkl_type);
if (
pkl_type == remove_parameters(CPL::static_pkl_type(standard)) ||