diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-21 22:59:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-21 22:59:19 +0100 |
| commit | 92984df6ab50ba4ec90d105e44b58efa863c4b59 (patch) | |
| tree | 492b129885467a20078af519da9864c7d2319c0a /src/wx | |
| parent | f868d7b9828766aab128f19ec8536efcac36ae37 (diff) | |
Even better open-file error reports.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/config_dialog.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index 13d7e1762..ac5d90296 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -829,7 +829,7 @@ private: if (d->ShowModal () == wxID_OK) { FILE* f = fopen_boost (wx_to_std (d->GetPath ()), "w"); if (!f) { - throw OpenFileError (wx_to_std (d->GetPath ()), errno); + throw OpenFileError (wx_to_std (d->GetPath ()), errno, false); } string const s = j->certificate (true); @@ -977,7 +977,7 @@ private: if (d->ShowModal () == wxID_OK) { FILE* f = fopen_boost (wx_to_std (d->GetPath ()), "w"); if (!f) { - throw OpenFileError (wx_to_std (d->GetPath ()), errno); + throw OpenFileError (wx_to_std (d->GetPath ()), errno, false); } string const s = _chain->key().get (); @@ -1060,7 +1060,7 @@ private: if (d->ShowModal () == wxID_OK) { FILE* f = fopen_boost (wx_to_std (d->GetPath ()), "w"); if (!f) { - throw OpenFileError (wx_to_std (d->GetPath ()), errno); + throw OpenFileError (wx_to_std (d->GetPath ()), errno, false); } string const s = Config::instance()->decryption_chain()->leaf().certificate (true); @@ -1080,7 +1080,7 @@ private: if (d->ShowModal () == wxID_OK) { FILE* f = fopen_boost (wx_to_std (d->GetPath ()), "w"); if (!f) { - throw OpenFileError (wx_to_std (d->GetPath ()), errno); + throw OpenFileError (wx_to_std (d->GetPath ()), errno, false); } string const s = Config::instance()->decryption_chain()->chain(); |
