Fixed syntax problem in MSWin specific code
This commit is contained in:
parent
fa37f233ef
commit
c79cc21396
|
@ -922,7 +922,7 @@ bool S3D_FILENAME_RESOLVER::ValidateFileName( const wxString& aFileName, bool& h
|
|||
// if we see the :\ pattern then it must be a drive designator
|
||||
if( pos0 != wxString::npos )
|
||||
{
|
||||
size_t pos1 = aFileName.find( wxT( ":\\" ) ) );
|
||||
size_t pos1 = aFileName.find( wxT( ":\\" ) );
|
||||
|
||||
if( pos1 != wxString::npos && ( pos1 != pos0 || pos1 != 1 ) )
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue