From 16374e9ae1cf9c1732aced8b056b322dff15938f Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Wed, 7 Oct 2020 23:23:43 +0100 Subject: [PATCH] Ensure string is chosen correctly --- libs/kimath/src/geometry/shape_line_chain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/kimath/src/geometry/shape_line_chain.cpp b/libs/kimath/src/geometry/shape_line_chain.cpp index 5916c525e2..e36f3f361d 100644 --- a/libs/kimath/src/geometry/shape_line_chain.cpp +++ b/libs/kimath/src/geometry/shape_line_chain.cpp @@ -968,13 +968,13 @@ const std::string SHAPE_LINE_CHAIN::Format() const ss << ", "; } - ss << "}, " << m_closed ? "true" : "false"; + ss << "}, " << ( m_closed ? "true" : "false" ); ss << " );"; return ss.str(); - + /* fixme: arcs for( size_t i = 0; i < m_arcs.size(); i++ )