From b92230aee168ec0a0280dcaf2850a8e590ada77a Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 1 Oct 2014 18:45:49 -0400 Subject: [PATCH] Revert "Fix the butchered previous commit." This reverts commit 46c7527e36d06c7184ec30548800a5b3de629510. --- public/filesystem.h | 2 +- public/filesystem_passthru.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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(); }