]> granicus.if.org Git - imagemagick/commitdiff
Use lime instead of green to avoid rounding issues (fixes #363).
authorDirk Lemstra <dirk@git.imagemagick.org>
Mon, 30 Jan 2017 12:28:58 +0000 (13:28 +0100)
committerDirk Lemstra <dirk@git.imagemagick.org>
Mon, 30 Jan 2017 12:28:58 +0000 (13:28 +0100)
Magick++/tests/color.cpp

index 4d12324b6af1d0dc9cdabf0ff40092592f8e783b..138ed2127e2acc3055570a4c752e18be8298e839 100644 (file)
@@ -40,7 +40,7 @@ int main( int /*argc*/, char **argv)
       struct colorStr colorMap [] =
       { 
        { "red", 1,0,0 },
-       { "green", 0,0.5019607843137255,0 },
+       { "lime", 0,1,0 },
        { "blue", 0,0,1 },
        { "black", 0,0,0 },
        { "white", 1,1,1 },