diff --git a/public/filesystem.h b/public/filesystem.h index a74c7d8d..92dc130f 100644 --- a/public/filesystem.h +++ b/public/filesystem.h @@ -558,7 +558,7 @@ public: virtual bool FullPathToRelativePath( const char *pFullpath, char *pRelative, int maxlen ) = 0; // Returns true on successfully retrieve case-sensitive full path, otherwise false - virtual bool GetCaseCorrectFullPath_Ptr( const char *pFullPath, char *pDest, int maxLenInChars ) = 0; + virtual bool GetCaseCorrectFullPath_Ptr( const char *pFullPath, maxLenInChars char *pDest, int maxLenInChars ) = 0; // Gets the current working directory virtual bool GetCurrentDirectory( char* pDirectory, int maxlen ) = 0; diff --git a/public/filesystem_passthru.h b/public/filesystem_passthru.h index 45cc12c9..ba3a75de 100644 --- a/public/filesystem_passthru.h +++ b/public/filesystem_passthru.h @@ -122,7 +122,6 @@ public: virtual void FindClose( FileFindHandle_t handle ) { m_pFileSystemPassThru->FindClose( handle ); } virtual const char *GetLocalPath( const char *pFileName, char *pLocalPath, int localPathBufferSize ) { return m_pFileSystemPassThru->GetLocalPath( pFileName, pLocalPath, localPathBufferSize ); } virtual bool FullPathToRelativePath( const char *pFullpath, char *pRelative, int maxlen ) { return m_pFileSystemPassThru->FullPathToRelativePath( pFullpath, pRelative, maxlen ); } - virtual bool GetCaseCorrectFullPath_Ptr( const char *pFullPath, char *pDest, int maxLenInChars ) { return m_pFileSystemPassThru->GetCaseCorrectFullPath_Ptr( pFullPath, pDest, maxLenInChars ); } virtual bool GetCurrentDirectory( char* pDirectory, int maxlen ) { return m_pFileSystemPassThru->GetCurrentDirectory( pDirectory, maxlen ); } virtual void PrintOpenedFiles( void ) { m_pFileSystemPassThru->PrintOpenedFiles(); } virtual void PrintSearchPaths( void ) { m_pFileSystemPassThru->PrintSearchPaths(); }