mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context: Code simplification
This commit is contained in:
parent
8eb321d8f0
commit
5059897b50
1 changed files with 1 additions and 4 deletions
|
@ -220,10 +220,7 @@ int Context::initialize (int argc, const char** argv)
|
||||||
if (combined.length ())
|
if (combined.length ())
|
||||||
combined += ' ';
|
combined += ' ';
|
||||||
|
|
||||||
if (a.attribute ("canonical") != "")
|
combined += a.getToken ();
|
||||||
combined += a.attribute ("canonical");
|
|
||||||
else
|
|
||||||
combined += a.attribute ("raw");
|
|
||||||
|
|
||||||
if (a.hasTag ("DEFAULT"))
|
if (a.hasTag ("DEFAULT"))
|
||||||
foundDefault = true;
|
foundDefault = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue