diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-17 15:19:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-17 15:19:01 +0300 |
commit | 83bc4b803968c60b358620948d148455bb4e3e75 (patch) | |
tree | e9e5477efadea5637918a402db082f3e9b03eaff /protocols | |
parent | 60a3976ffcba18b69e1da3a22e474e15b672aab2 (diff) |
typo fix
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Telegram/src/avatars.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/avatars.cpp b/protocols/Telegram/src/avatars.cpp index b845d536de..7e1d117ed7 100644 --- a/protocols/Telegram/src/avatars.cpp +++ b/protocols/Telegram/src/avatars.cpp @@ -90,7 +90,7 @@ void CTelegramProto::ProcessFile(TD::updateFile *pObj) CMStringW wszFullName = it->m_destPath + L"\\" + it->m_fileName;
if (it->m_type == it->AVATAR) {
- if (it->m_destPath.Right(5).MakeLower() == L".webp") {
+ if (it->m_fileName.Right(5).MakeLower() == L".webp") {
if (auto *pImage = FreeImage_LoadU(FIF_WEBP, wszExistingFile)) {
wszFullName.Truncate(wszFullName.GetLength() - 5);
wszFullName += L".png";
|