mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- All objects now use the same convention for naming members. The consistency is a good thing.
This commit is contained in:
parent
fb6dc5058f
commit
dab06f8672
53 changed files with 1347 additions and 1349 deletions
|
@ -600,11 +600,11 @@ bool CmdEdit::editFile (Task& task)
|
|||
// Create a temp file name in data.location.
|
||||
std::stringstream file;
|
||||
file << "task." << getpid () << "." << task.id << ".task";
|
||||
std::string path = location.data + "/" + file.str ();
|
||||
std::string path = location._data + "/" + file.str ();
|
||||
|
||||
// Format the contents, T -> text, write to a file.
|
||||
std::string before = formatTask (task);
|
||||
int ignored = chdir (location.data.c_str ());
|
||||
int ignored = chdir (location._data.c_str ());
|
||||
++ignored; // Keep compiler quiet.
|
||||
File::write (file.str (), before);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue