diff --git a/common/eda_text.cpp b/common/eda_text.cpp index 5e1407e8bc..acd9f65495 100644 --- a/common/eda_text.cpp +++ b/common/eda_text.cpp @@ -742,7 +742,7 @@ void EDA_TEXT::printOneLineOfText( const RENDER_SETTINGS* aSettings, const VECTO const wxString& aText, const VECTOR2I& aPos ) { wxDC* DC = aSettings->GetPrintDC(); - int penWidth = std::max( GetEffectiveTextPenWidth(), aSettings->GetDefaultPenWidth() ); + int penWidth = GetEffectiveTextPenWidth( aSettings->GetDefaultPenWidth() ); if( aFillMode == SKETCH ) penWidth = -penWidth;