mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 00:21:36 +00:00
Eeschema: symbol SVG export: don't lower-case
This is inconsistent with how footprints work and adds work for downstream scripts which need to be aware that they have to process the symbol name in this way. Symbols named "syma" and "SYMA" can still collide in the same library on case-insensitive systems, but this should be avoided by warning/errors at the library level, rather than by silent overwriting on export. Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/19370
This commit is contained in:
parent
e7e59737ad
commit
2f2f445043
@ -803,7 +803,7 @@ int EESCHEMA_JOBS_HANDLER::doSymExportSvg( JOB_SYM_EXPORT_SVG* aSvgJob,
|
||||
fn.SetPath( aSvgJob->m_outputDirectory );
|
||||
fn.SetExt( FILEEXT::SVGFileExtension );
|
||||
|
||||
filename = symbol->GetName().Lower();
|
||||
filename = symbol->GetName();
|
||||
|
||||
while( wxString::npos
|
||||
!= ( forbidden_char = filename.find_first_of(
|
||||
|
Loading…
Reference in New Issue
Block a user