X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-chart.c;h=3b4f1b377a12a624ceb929d00c617bb4bd581f30;hb=23fe9f40872f54400ce10d87f349c8d317c21274;hp=88aa58b06803a4c65a7f1f52a021acf116f111c9;hpb=92f9121c49de9f91d9d743b5dc854cf701713dc5;p=pspp-builds.git diff --git a/src/output/charts/plot-chart.c b/src/output/charts/plot-chart.c index 88aa58b0..3b4f1b37 100644 --- a/src/output/charts/plot-chart.c +++ b/src/output/charts/plot-chart.c @@ -38,17 +38,18 @@ #include "xalloc.h" -const char *const data_colour[] = { - "brown", - "red", - "orange", - "yellow", - "green", - "blue", - "violet", - "grey", - "pink" -}; +const char *const data_colour[N_CHART_COLOURS] = + { + "brown", + "red", + "orange", + "yellow", + "green", + "blue", + "violet", + "grey", + "pink" + };