mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1298
- TW-1298 The color 'orange' is not recognized. - taskwarrior will not start anymore (thanks to Bernd Humpa).
This commit is contained in:
parent
c03df08d1e
commit
2aa224d278
3 changed files with 39 additions and 28 deletions
1
AUTHORS
1
AUTHORS
|
@ -207,3 +207,4 @@ suggestions:
|
||||||
Michele Vetturi
|
Michele Vetturi
|
||||||
Jeremiah Marks
|
Jeremiah Marks
|
||||||
Profpatsch
|
Profpatsch
|
||||||
|
Bernd Humpa
|
||||||
|
|
|
@ -42,6 +42,8 @@
|
||||||
Wilk).
|
Wilk).
|
||||||
- TW-1296 make test/run_all exit with non-zero code if a test fail (thanks to
|
- TW-1296 make test/run_all exit with non-zero code if a test fail (thanks to
|
||||||
Jakub Wilk).
|
Jakub Wilk).
|
||||||
|
- TW-1298 The color 'orange' is not recognized. - taskwarrior will not start
|
||||||
|
anymore (thanks to Bernd Humpa).
|
||||||
- TW-1300 _get could use return codes (thanks to Scott Kostyshak).
|
- TW-1300 _get could use return codes (thanks to Scott Kostyshak).
|
||||||
- TW-1301 Virtual tag +PENDING (thanks to Profpatsch).
|
- TW-1301 Virtual tag +PENDING (thanks to Profpatsch).
|
||||||
- TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman).
|
- TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman).
|
||||||
|
|
|
@ -41,6 +41,8 @@ static Date now;
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void initializeColorRules ()
|
void initializeColorRules ()
|
||||||
{
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
gsColor.clear ();
|
gsColor.clear ();
|
||||||
gsPrecedence.clear ();
|
gsPrecedence.clear ();
|
||||||
|
|
||||||
|
@ -76,6 +78,12 @@ void initializeColorRules ()
|
||||||
for (r = results.begin (); r != results.end (); ++r)
|
for (r = results.begin (); r != results.end (); ++r)
|
||||||
gsPrecedence.push_back (*r);
|
gsPrecedence.push_back (*r);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
catch (const std::string& e)
|
||||||
|
{
|
||||||
|
context.error (e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue