mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-19 07:37:12 +00:00
Remove TEXT() and _T(). (PR #1379)
This commit is contained in:
@@ -1581,11 +1581,11 @@ void CImageHelperBase::GetCharLowerExt(char* pszExt, LPCTSTR pszImageFilename, c
|
||||
{
|
||||
LPCTSTR pImageFileExt = pszImageFilename;
|
||||
|
||||
if (strrchr(pImageFileExt, TEXT(PATH_SEPARATOR)))
|
||||
pImageFileExt = strrchr(pImageFileExt, TEXT(PATH_SEPARATOR))+1;
|
||||
if (strrchr(pImageFileExt, PATH_SEPARATOR))
|
||||
pImageFileExt = strrchr(pImageFileExt, PATH_SEPARATOR)+1;
|
||||
|
||||
if (strrchr(pImageFileExt, TEXT('.')))
|
||||
pImageFileExt = strrchr(pImageFileExt, TEXT('.'));
|
||||
if (strrchr(pImageFileExt, '.'))
|
||||
pImageFileExt = strrchr(pImageFileExt, '.');
|
||||
|
||||
strncpy(pszExt, pImageFileExt, uExtSize);
|
||||
pszExt[uExtSize - 1] = 0;
|
||||
@@ -1599,7 +1599,7 @@ void CImageHelperBase::GetCharLowerExt2(char* pszExt, LPCTSTR pszImageFilename,
|
||||
strncpy(szFilename, pszImageFilename, MAX_PATH);
|
||||
szFilename[MAX_PATH - 1] = 0;
|
||||
|
||||
char* pLastDot = strrchr(szFilename, TEXT('.'));
|
||||
char* pLastDot = strrchr(szFilename, '.');
|
||||
if (pLastDot)
|
||||
*pLastDot = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user