Remove TCHAR and <tchar.h> (PR #1373)

. Replace TCHAR -> char.
. Remove <tchar.h> and related functions.
This commit is contained in:
Andrea
2025-02-08 11:09:09 +00:00
committed by GitHub
parent 1f3e253c4b
commit 168e868677
44 changed files with 271 additions and 275 deletions

View File

@@ -104,7 +104,7 @@ void FrameBase::Video_TakeScreenShot(const Video::VideoScreenShot_e ScreenShotTy
//===========================================================================
void FrameBase::Video_SaveScreenShot(const Video::VideoScreenShot_e ScreenShotType, const TCHAR* pScreenShotFileName)
void FrameBase::Video_SaveScreenShot(const Video::VideoScreenShot_e ScreenShotType, const char* pScreenShotFileName)
{
FILE* pFile = fopen(pScreenShotFileName, "wb");
if (pFile)
@@ -128,7 +128,7 @@ std::string FrameBase::Util_MakeScreenShotFileName() const
}
// Returns TRUE if file exists, else FALSE
bool FrameBase::Util_TestScreenShotFileName(const TCHAR* pFileName)
bool FrameBase::Util_TestScreenShotFileName(const char* pFileName)
{
bool bFileExists = false;
FILE* pFile = fopen(pFileName, "rt");