From 1eb922f8075c53a1a8487045b096693bd27b56dd Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 19:23:27 +0000 Subject: replace _tcsicmp to mir_tstrcmpi git-svn-id: http://svn.miranda-ng.org/main/trunk@13761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/src/image.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Gadu-Gadu/src') 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; } } -- cgit v1.2.3