From c710f6a4ea2231051a9e6406128d6e06af86e58e Mon Sep 17 00:00:00 2001 From: Mat Date: Thu, 7 May 2020 22:14:00 +0300 Subject: Remove old Android leftovers (#4722) --- src/OSSupport/File.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/OSSupport/File.cpp') diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp index e882daae7..109c51eb7 100644 --- a/src/OSSupport/File.cpp +++ b/src/OSSupport/File.cpp @@ -71,9 +71,9 @@ bool cFile::Open(const AString & iFileName, eMode iMode) } #ifdef _WIN32 - m_File = _fsopen((FILE_IO_PREFIX + iFileName).c_str(), Mode, _SH_DENYWR); + m_File = _fsopen((iFileName).c_str(), Mode, _SH_DENYWR); #else - m_File = fopen((FILE_IO_PREFIX + iFileName).c_str(), Mode); + m_File = fopen((iFileName).c_str(), Mode); #endif // _WIN32 if ((m_File == nullptr) && (iMode == fmReadWrite)) @@ -84,9 +84,9 @@ bool cFile::Open(const AString & iFileName, eMode iMode) // Simply re-open for read-writing, erasing existing contents: #ifdef _WIN32 - m_File = _fsopen((FILE_IO_PREFIX + iFileName).c_str(), "wb+", _SH_DENYWR); + m_File = _fsopen((iFileName).c_str(), "wb+", _SH_DENYWR); #else - m_File = fopen((FILE_IO_PREFIX + iFileName).c_str(), "wb+"); + m_File = fopen((iFileName).c_str(), "wb+"); #endif // _WIN32 } -- cgit v1.2.3