mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Check systematically if the color is non-trivial before blending.
This commit is contained in:
parent
f2f6b788e8
commit
90c420263c
3 changed files with 45 additions and 22 deletions
|
@ -66,7 +66,7 @@ public:
|
|||
static std::string colorize (const std::string&, const std::string&);
|
||||
static std::string strip (const std::string&);
|
||||
|
||||
bool nontrivial ();
|
||||
bool nontrivial () const;
|
||||
|
||||
private:
|
||||
int find (const std::string&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue