summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/yapp_history_dlg.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:18:21 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:18:21 +0000
commitb499ebc740aa5480be013d40e0d8097066800642 (patch)
treeed410ee863f4afc0c579599741bf38b4e3ffb706 /plugins/YAPP/src/yapp_history_dlg.cpp
parent5a17c9299e03bebf46169927abdeee34aaf8e854 (diff)
replace _tcslen to mir_tstrlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp_history_dlg.cpp')
-rw-r--r--plugins/YAPP/src/yapp_history_dlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/YAPP/src/yapp_history_dlg.cpp b/plugins/YAPP/src/yapp_history_dlg.cpp
index 04d9eae3a3..1a3d083519 100644
--- a/plugins/YAPP/src/yapp_history_dlg.cpp
+++ b/plugins/YAPP/src/yapp_history_dlg.cpp
@@ -120,7 +120,7 @@ static int lastColumn = -1; //last sort column
int MatchesFilterCS(const TCHAR *filter, const PopupHistoryData *popupItem) //case sensitive
{
- if (_tcslen(filter) <= 0) { return 1; } //if no filter is set then the popup item matches the filter
+ if (mir_tstrlen(filter) <= 0) { return 1; } //if no filter is set then the popup item matches the filter
int match = 0;
match = (_tcsstr(popupItem->messageT, filter)) ? 1 : match; //check message part
@@ -149,7 +149,7 @@ __inline void ConvertCase(TCHAR *dest, const TCHAR *source, size_t size)
int MatchesFilterCI(const TCHAR *filterS, const PopupHistoryData *popupItem)
{
- if (_tcslen(filterS) <= 0) { return 1; } //if no filter is set then the popup item matches the filter
+ if (mir_tstrlen(filterS) <= 0) { return 1; } //if no filter is set then the popup item matches the filter
int match = 0;
const int BUFFER_SIZE = 1024;
TCHAR buffer[BUFFER_SIZE];
@@ -489,7 +489,7 @@ void CopyPopupDataToClipboard(HWND hList, int selection)
if (found)
{
EmptyClipboard();
- int len = (int)_tcslen(buffer);
+ int len = (int)mir_tstrlen(buffer);
HANDLE hData = GlobalAlloc(GMEM_MOVEABLE, (len + 2) * sizeof(TCHAR));
clipboard = (TCHAR *) GlobalLock(hData);