mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Cleanup: formatting and diagnostics
This commit is contained in:
parent
95d0bd6256
commit
21f2b138b0
4 changed files with 7 additions and 5 deletions
|
@ -32,7 +32,6 @@
|
|||
void Datafile::initialize (const std::string& name)
|
||||
{
|
||||
_name = name;
|
||||
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -44,7 +44,8 @@ void Rules::load (const std::string& file, int nest /* = 1 */)
|
|||
// First time in, load the default values.
|
||||
if (nest == 1)
|
||||
{
|
||||
// This is where defaults would be set.
|
||||
// TODO This is where defaults would be set.
|
||||
|
||||
_original_file = File (file)._data;
|
||||
}
|
||||
|
||||
|
@ -154,7 +155,7 @@ std::string Rules::dump () const
|
|||
|
||||
out << " Settings\n";
|
||||
for (const auto& item : _settings)
|
||||
out << " " << item.first << " " << item.second << "\n";
|
||||
out << " " << item.first << "=" << item.second << "\n";
|
||||
|
||||
return out.str ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue