mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
*.kicad_sch files: add missing quotes to uuid string for some grahic shapes.
Uuid strings are (like other strings) quoted, but a few items were missing quotes. Fixes https://gitlab.com/kicad/code/kicad/-/issues/21360
This commit is contained in:
parent
ec155c00f3
commit
eb473012a6
@ -236,7 +236,7 @@ void formatArc( OUTPUTFORMATTER* aFormatter, EDA_SHAPE* aArc, bool aIsPrivate,
|
||||
formatFill( aFormatter, aFillMode, aFillColor );
|
||||
|
||||
if( aUuid != niluuid )
|
||||
aFormatter->Print( "(uuid %s)", TO_UTF8( aUuid.AsString() ) );
|
||||
aFormatter->Print( "(uuid %s)", aFormatter->Quotew( aUuid.AsString() ).c_str() );
|
||||
|
||||
aFormatter->Print( ")" );
|
||||
}
|
||||
@ -255,7 +255,7 @@ void formatCircle( OUTPUTFORMATTER* aFormatter, EDA_SHAPE* aCircle, bool aIsPriv
|
||||
formatFill( aFormatter, aFillMode, aFillColor );
|
||||
|
||||
if( aUuid != niluuid )
|
||||
aFormatter->Print( "(uuid %s)", TO_UTF8( aUuid.AsString() ) );
|
||||
aFormatter->Print( "(uuid %s)", aFormatter->Quotew( aUuid.AsString() ).c_str() );
|
||||
|
||||
aFormatter->Print( ")" );
|
||||
}
|
||||
@ -273,7 +273,7 @@ void formatRect( OUTPUTFORMATTER* aFormatter, EDA_SHAPE* aRect, bool aIsPrivate,
|
||||
formatFill( aFormatter, aFillMode, aFillColor );
|
||||
|
||||
if( aUuid != niluuid )
|
||||
aFormatter->Print( "(uuid %s)", TO_UTF8( aUuid.AsString() ) );
|
||||
aFormatter->Print( "(uuid %s)", aFormatter->Quotew( aUuid.AsString() ).c_str() );
|
||||
|
||||
aFormatter->Print( ")" );
|
||||
}
|
||||
@ -298,7 +298,7 @@ void formatBezier( OUTPUTFORMATTER* aFormatter, EDA_SHAPE* aBezier, bool aIsPriv
|
||||
formatFill( aFormatter, aFillMode, aFillColor );
|
||||
|
||||
if( aUuid != niluuid )
|
||||
aFormatter->Print( "(uuid %s)", TO_UTF8( aUuid.AsString() ) );
|
||||
aFormatter->Print( "(uuid %s)", aFormatter->Quotew( aUuid.AsString() ).c_str() );
|
||||
|
||||
aFormatter->Print( ")" );
|
||||
}
|
||||
@ -331,7 +331,7 @@ void formatPoly( OUTPUTFORMATTER* aFormatter, EDA_SHAPE* aPolyLine, bool aIsPriv
|
||||
formatFill( aFormatter, aFillMode, aFillColor );
|
||||
|
||||
if( aUuid != niluuid )
|
||||
aFormatter->Print( "(uuid %s)", TO_UTF8( aUuid.AsString() ) );
|
||||
aFormatter->Print( "(uuid %s)", aFormatter->Quotew( aUuid.AsString() ).c_str() );
|
||||
|
||||
aFormatter->Print( ")" );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user