mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 13:23:08 +02:00
Code Cleanup
- Simplified one call.
This commit is contained in:
parent
a5123dd2b7
commit
6dca4dd056
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ void handleRecurrence ()
|
||||||
sprintf (dueDate, "%u", (unsigned int) d->toEpoch ());
|
sprintf (dueDate, "%u", (unsigned int) d->toEpoch ());
|
||||||
rec.set ("due", dueDate); // Store generated due date.
|
rec.set ("due", dueDate); // Store generated due date.
|
||||||
|
|
||||||
if (t->get ("wait").size())
|
if (t->has ("wait"))
|
||||||
{
|
{
|
||||||
Date old_wait (atoi (t->get ("wait").c_str ()));
|
Date old_wait (atoi (t->get ("wait").c_str ()));
|
||||||
Date old_due (atoi (t->get ("due").c_str ()));
|
Date old_due (atoi (t->get ("due").c_str ()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue