Remove TEXT() and _T(). (PR #1379)

This commit is contained in:
Andrea
2025-02-13 20:48:37 +00:00
committed by GitHub
parent b35a4d17d2
commit acbef19489
37 changed files with 779 additions and 779 deletions
+5 -5
View File
@@ -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;