[tools 3/3] winetest/build-patterns: Add dark cyan instead of substituting it for cyan.

Francois Gouget fgouget at codeweavers.com
Tue Aug 31 08:40:04 CDT 2021


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 winetest/build-patterns | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winetest/build-patterns b/winetest/build-patterns
index 72291401e..386bf9784 100755
--- a/winetest/build-patterns
+++ b/winetest/build-patterns
@@ -903,7 +903,7 @@ sub compute_set_colors($)
     {
         # Start from a 'darker cyan' for increased contrast
         # when many colors are needed.
-        $keycolors[0] = [0, 179, 179] if ($count > 10);
+        unshift @keycolors, [0, 179, 179] if ($count > 10);
 
         # Convert the key colors to the Luv colorspace where the distance
         # between colors is roughly representative of the perceptual difference
-- 
2.30.2



More information about the wine-devel mailing list