diff options
author | André Nusser <andre.nusser@googlemail.com> | 2020-04-11 18:57:00 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2020-04-11 18:58:07 +0200 |
commit | 48c1da538a4eb3cf73836fc7692105e5ab99a8d4 (patch) | |
tree | 2da86a9682d821b06dffd97fbbd121aadb84c76c /src/configfile.cc | |
parent | a732b8810fa586bfe783c5f89776c0d53e521fb5 (diff) |
Change config file to write in the format: <key> = "<value>".
Diffstat (limited to 'src/configfile.cc')
-rw-r--r-- | src/configfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configfile.cc b/src/configfile.cc index 18934aa..db1316b 100644 --- a/src/configfile.cc +++ b/src/configfile.cc @@ -158,7 +158,7 @@ bool ConfigFile::save() for(const auto& value: values) { - current_file << value.first << ":" << value.second << std::endl; + current_file << value.first << " = " << "\"" << value.second << "\"" << std::endl; } current_file.close(); |