summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2020-04-11 18:57:00 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2020-04-11 18:58:07 +0200
commit48c1da538a4eb3cf73836fc7692105e5ab99a8d4 (patch)
tree2da86a9682d821b06dffd97fbbd121aadb84c76c
parenta732b8810fa586bfe783c5f89776c0d53e521fb5 (diff)
Change config file to write in the format: <key> = "<value>".
-rw-r--r--src/configfile.cc2
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();