From 249cb0dea0d2989a78f535b99d7d9661677ca6be Mon Sep 17 00:00:00 2001 From: Marco Mattila Date: Thu, 27 Jan 2011 16:54:21 +0200 Subject: [PATCH] Fix zone fill state toggling when saving and reloading a board file in pcbnew. --- pcbnew/class_zone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/class_zone.cpp b/pcbnew/class_zone.cpp index 53b817b402..4c95ad1bc5 100644 --- a/pcbnew/class_zone.cpp +++ b/pcbnew/class_zone.cpp @@ -340,7 +340,7 @@ int ZONE_CONTAINER::ReadDescr( LINE_READER* aReader ) if( arcsegmentcount >= ARC_APPROX_SEGMENTS_COUNT_HIGHT_DEF ) m_ArcToSegmentsCount = ARC_APPROX_SEGMENTS_COUNT_HIGHT_DEF; - m_IsFilled = fillstate == 'F' ? true : false; + m_IsFilled = (fillstate == 'S') ? true : false; } else if( strnicmp( Line, "ZClearance", 10 ) == 0 ) // Clearence and pad options info found {