From e4656c440d1739fa44949ccb3d8bab40feaf2efd Mon Sep 17 00:00:00 2001 From: charras Date: Thu, 9 Jul 2009 04:55:55 +0000 Subject: [PATCH] Fixed Crash when changing color under MacOSX. This could also affect all versions. --- common/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.cpp b/common/common.cpp index 120b826629..45a7df54cb 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -89,7 +89,7 @@ int g_GhostColor; * Please: if you change a value, remember these values are carefully chosen * to have good results in pcbnew, that uses the ORed value of basic colors * when displaying superimposed objects - * The NULL value of the last item can be used as an end of list item + * This list must have exactly NBCOLOR items */ StructColors ColorRefs[NBCOLOR] = {