Fixed syntax problem in MSWin specific code

This commit is contained in:
Cirilo Bernardo 2016-01-23 16:34:29 +11:00
parent fa37f233ef
commit c79cc21396
1 changed files with 1 additions and 1 deletions

View File

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