mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-07-16 20:24:03 +00:00
Remove TCHAR and <tchar.h> (PR #1373)
. Replace TCHAR -> char. . Remove <tchar.h> and related functions.
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user