diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-16 10:00:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-16 10:00:59 +0000 |
| commit | 332ad44023ff81ae44b15f2587f4d40e4d5ccff5 (patch) | |
| tree | d6655ea97087ded3113a3510ae6737ad403c971c /src/wx | |
| parent | e2060bab0a965e77dee7c998753a858aa38b8849 (diff) | |
Increase maximum allowable KDM file size.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/content_menu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 6da219f0f..0240a8c33 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -367,7 +367,7 @@ ContentMenu::kdm () if (d->ShowModal() == wxID_OK) { try { - dcp->add_kdm (dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (d->GetPath ())))); + dcp->add_kdm (dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (d->GetPath ()), MAX_KDM_SIZE))); } catch (exception& e) { error_dialog (_parent, wxString::Format (_("Could not load KDM (%s)"), e.what ())); d->Destroy (); |
