diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-14 19:07:52 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-14 19:07:52 +0000 |
commit | 0225e25a20995f5b091c31ea1ea91306bfc8e23c (patch) | |
tree | aca60c03c02591f9c95a99705d127d65ee056d68 /plugins/Popup/src/avatars.cpp | |
parent | 2a884a193239118e9ff76d7a29dae5a84fab1122 (diff) |
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/avatars.cpp')
-rw-r--r-- | plugins/Popup/src/avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/avatars.cpp b/plugins/Popup/src/avatars.cpp index 094fc26cd8..aa5529c5ee 100644 --- a/plugins/Popup/src/avatars.cpp +++ b/plugins/Popup/src/avatars.cpp @@ -31,10 +31,10 @@ PopupAvatar *PopupAvatar::create(MCONTACT hContact) {
avatarCacheEntry *av = (avatarCacheEntry *)CallService(MS_AV_GETAVATARBITMAP, hContact, 0);
// MessageBox(NULL, _T("00"), _T(MODULNAME_LONG), MB_OK);
- if (av && (_tcslen(av->szFilename) > 4))
+ if (av && (mir_tstrlen(av->szFilename) > 4))
{
// MessageBox(NULL, _T("01"), _T(MODULNAME_LONG), MB_OK);
- if (!_tcsicmp(av->szFilename + _tcslen(av->szFilename) - 4, _T(".gif")))
+ if (!mir_tstrcmpi(av->szFilename + mir_tstrlen(av->szFilename) - 4, _T(".gif")))
{
// MessageBox(NULL, _T("02"), _T(MODULNAME_LONG), MB_OK);
if (db_get_b(NULL, MODULNAME, "EnableGifAnimation", 1) && GDIPlus_IsAnimatedGIF(av->szFilename))
|