summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-tool.mpiv3
1 files changed, 2 insertions, 1 deletions
diff --git a/metapost/context/base/mp-tool.mpiv b/metapost/context/base/mp-tool.mpiv
index 6502720ad..a51017e23 100644
--- a/metapost/context/base/mp-tool.mpiv
+++ b/metapost/context/base/mp-tool.mpiv
@@ -2299,7 +2299,8 @@ enddef ;
vardef basiccolors[] =
save n ; n := @ mod 7 ;
- if n = 1 : red
+ if n = 0 : white
+ elseif n = 1 : red
elseif n = 2 : green
elseif n = 3 : blue
elseif n = 4 : cyan