Browse Source

Fix compile error

6.0.7
Seth Hillbrand 4 years ago
parent
commit
7312bb4584
  1. 2
      common/filename_resolver.cpp
  2. 2
      utils/kicad2step/pcb/3d_resolver.cpp

2
common/filename_resolver.cpp

@ -974,7 +974,7 @@ bool FILENAME_RESOLVER::ValidateFileName( const wxString& aFileName, bool& hasAl
wxString filename = aFileName;
wxString lpath;
size_t aliasStart = aFileName.starts_with( ':' ) ? 1 : 0;
size_t aliasStart = aFileName.StartsWith( ':' ) ? 1 : 0;
size_t aliasEnd = aFileName.find( ':', aliasStart );
// ensure that the file separators suit the current platform

2
utils/kicad2step/pcb/3d_resolver.cpp

@ -909,7 +909,7 @@ bool S3D_RESOLVER::ValidateFileName( const wxString& aFileName, bool& hasAlias )
wxString filename = aFileName;
wxString lpath;
size_t aliasStart = aFileName.starts_with( ':' ) ? 1 : 0;
size_t aliasStart = aFileName.StartsWith( ':' ) ? 1 : 0;
size_t aliasEnd = aFileName.find( ':' );
// ensure that the file separators suit the current platform

Loading…
Cancel
Save