From 6af031be05775f0ed1adec9bcd66dbe5df607f7c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 8 Nov 2021 20:19:45 +0000 Subject: [PATCH] Use double-quotes for rule expressions. The Mac double-quote bug is now fixed and strings inside expressions are single quoted making single-quoting the entire expression pretty hard to visually parse. --- pcbnew/drc/drc_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/drc/drc_engine.cpp b/pcbnew/drc/drc_engine.cpp index fffd36e831..64fa896f9f 100644 --- a/pcbnew/drc/drc_engine.cpp +++ b/pcbnew/drc/drc_engine.cpp @@ -1056,7 +1056,7 @@ DRC_CONSTRAINT DRC_ENGINE::EvalRules( DRC_CONSTRAINT_T aConstraintType, const BO } else { - REPORT( wxString::Format( _( "Checking rule condition '%s'." ), + REPORT( wxString::Format( _( "Checking rule condition \"%s\"." ), EscapeHTML( c->condition->GetExpression() ) ) ) }