From e4533888276cb201384a74715c29c9c2a25e594e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 12 Feb 2022 22:41:31 +0100 Subject: [PATCH] Fix build on Centos 6. --- src/wx/recreate_chain_dialog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/recreate_chain_dialog.cc b/src/wx/recreate_chain_dialog.cc index d4dc74315..083b14a58 100644 --- a/src/wx/recreate_chain_dialog.cc +++ b/src/wx/recreate_chain_dialog.cc @@ -37,7 +37,7 @@ RecreateChainDialog::RecreateChainDialog (wxWindow* parent, Config::BadSignerCha , _reason (reason) { wxString message; - if (_reason & Config::BadSignerChainReason::BAD_SIGNER_CHAIN_VALIDITY_TOO_LONG) { + if (_reason & Config::BAD_SIGNER_CHAIN_VALIDITY_TOO_LONG) { message = _("The certificate chain that DCP-o-matic uses for signing DCPs and KDMs has a validity period\n" "that is too long. This will cause problems playing back DCPs on some systems.\n" "Do you want to re-create the certificate chain for signing DCPs and KDMs?"); @@ -60,7 +60,7 @@ RecreateChainDialog::RecreateChainDialog (wxWindow* parent, Config::BadSignerCha void RecreateChainDialog::shut_up (wxCommandEvent& ev) { - if (_reason & Config::BadSignerChainReason::BAD_SIGNER_CHAIN_VALIDITY_TOO_LONG) { + if (_reason & Config::BAD_SIGNER_CHAIN_VALIDITY_TOO_LONG) { Config::instance()->set_nagged (Config::NAG_BAD_SIGNER_CHAIN_VALIDITY_TOO_LONG, ev.IsChecked()); } else { Config::instance()->set_nagged (Config::NAG_BAD_SIGNER_CHAIN_UTF8_STRINGS, ev.IsChecked()); -- 2.30.2