Code Cleanup

- Check systematically if the color is non-trivial before blending.
This commit is contained in:
Louis-Claude Canon 2012-05-27 12:03:19 +02:00 committed by Paul Beckingham
parent f2f6b788e8
commit 90c420263c
3 changed files with 45 additions and 22 deletions

View file

@ -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&);