diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-03-07 10:18:06 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-03-07 10:18:06 +0000 |
| commit | 443a7d74ff2a49ad45a4fb44f92abd619bc0a0b0 (patch) | |
| tree | 5cdba2339a97f9882a4f82038c914ae15de52dc0 /src/lib/config.cc | |
| parent | 5a7b85d0456941a03fc1682e49fdffac2d44f817 (diff) | |
Handle failure to write to cinemas file more nicely.
Diffstat (limited to 'src/lib/config.cc')
| -rw-r--r-- | src/lib/config.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index 031c046c9..6a08125cf 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -366,12 +366,12 @@ Config::instance () void Config::write () const { - write_config_xml (); - write_cinemas_xml (); + write_config (); + write_cinemas (); } void -Config::write_config_xml () const +Config::write_config () const { xmlpp::Document doc; xmlpp::Element* root = doc.create_root_node ("Config"); @@ -482,7 +482,7 @@ Config::write_config_xml () const } void -Config::write_cinemas_xml () const +Config::write_cinemas () const { xmlpp::Document doc; xmlpp::Element* root = doc.create_root_node ("Cinemas"); |
