diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:23:27 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:23:27 +0000 |
commit | 1eb922f8075c53a1a8487045b096693bd27b56dd (patch) | |
tree | 2e4ec55f37aaa42d1f93d8a58fcde6c74b2025bb /protocols/Gadu-Gadu/src | |
parent | e2d7ebd6315a810bd4ea54f1088b84d09c3ca5d2 (diff) |
replace _tcsicmp to mir_tstrcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@13761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r-- | protocols/Gadu-Gadu/src/image.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Gadu-Gadu/src/image.cpp b/protocols/Gadu-Gadu/src/image.cpp index 5f1dd86fd3..467487cfe5 100644 --- a/protocols/Gadu-Gadu/src/image.cpp +++ b/protocols/Gadu-Gadu/src/image.cpp @@ -789,12 +789,12 @@ TCHAR *gg_img_hasextension(TCHAR *filename) {
size_t len = mir_tstrlen(imgtype);
imgtype++;
- if (len == 4 && (_tcsicmp(imgtype, _T("bmp")) == 0 ||
- _tcsicmp(imgtype, _T("gif")) == 0 ||
- _tcsicmp(imgtype, _T("jpg")) == 0 ||
- _tcsicmp(imgtype, _T("png")) == 0))
+ if (len == 4 && (mir_tstrcmpi(imgtype, _T("bmp")) == 0 ||
+ mir_tstrcmpi(imgtype, _T("gif")) == 0 ||
+ mir_tstrcmpi(imgtype, _T("jpg")) == 0 ||
+ mir_tstrcmpi(imgtype, _T("png")) == 0))
return --imgtype;
- if (len == 5 && _tcsicmp(imgtype, _T("jpeg")) == 0)
+ if (len == 5 && mir_tstrcmpi(imgtype, _T("jpeg")) == 0)
return --imgtype;
}
}
|