From 8a2eeb8c00db2809b8b3fa848d628cf0cd7cb411 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 30 Aug 2022 22:58:36 +0200 Subject: [PATCH] Fix error when exporting the cinemas file with overwrite. --- src/wx/full_config_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index bcaa61a9b..0f99d85d8 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -173,7 +173,7 @@ private: ); if (d->ShowModal () == wxID_OK) { - boost::filesystem::copy_file (Config::instance()->cinemas_file(), wx_to_std(d->GetPath())); + boost::filesystem::copy_file(Config::instance()->cinemas_file(), wx_to_std(d->GetPath()), boost::filesystem::copy_option::overwrite_if_exists); } d->Destroy (); } -- 2.30.2