Bug Fix - #372 Color blending/mapping broken

- Corrected problem in unit test that expected the wrong result.
- Fixed Color::Color (const std::string&) so that the foreground and
  background are now considered two different colors, are upgraded
  separately, if necessary, and then blended.  The problem affected
  all instances of "<256-color> on <16-color>".  Hooray for unit
  tests.
This commit is contained in:
Paul Beckingham 2010-02-06 16:54:07 -05:00
parent 89ae64c5fb
commit 579ebe6130
3 changed files with 49 additions and 42 deletions

View file

@ -83,6 +83,8 @@
+ Fixed bug #371 which caused task to mis-apply certain color rules, like
color.alternate, which was (a) not applied first, and (b) not blended
with the other color rules (thanks to Richard Querin).
+ Fixed bug #372 which incorrectly mapped 16-color backgrounds into the
256-color space.
------ old releases ------------------------------