Fix compile error

This commit is contained in:
Seth Hillbrand 2021-09-06 07:01:55 -07:00
parent 86725db758
commit 7312bb4584
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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