From 8e233e2591d519916404ffc3c0a73e7fa333aaf5 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 18 Nov 2019 09:13:04 +0100 Subject: [PATCH] Fix compil issue due to a small incompatibility from cherry-picked code. --- pcbnew/pcb_painter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index d042bcea3f..b408173baf 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -264,7 +264,7 @@ const COLOR4D& PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer if( viaActiveLayer ) return m_layerColors[aLayer]; else - return m_hiContrastColor[aLayer]; + return m_hiContrastColor; } }