Commit 73dd151e authored by Jakob Stierhof's avatar Jakob Stierhof

Fix bug in returned number of color palettes

parent be4890dc
Pipeline #7153 passed with stages
in 37 seconds
......@@ -624,7 +624,7 @@ define get_color_palette (name, n)
if (qualifier_exists("string"))
return array_map(String_Type, &sprintf, "%06x", pal);
return pal;
return pal[[0:n-1]];
}
define get_color_palette_names ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment