From faccf4803bd25abbb27402ab1127d085efd9061f Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Mon, 1 Dec 2014 00:33:09 +0000 Subject: code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@11185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAPP/src/yapp_history_dlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/YAPP') diff --git a/plugins/YAPP/src/yapp_history_dlg.cpp b/plugins/YAPP/src/yapp_history_dlg.cpp index 1ab052a9fd..2c553a68bf 100644 --- a/plugins/YAPP/src/yapp_history_dlg.cpp +++ b/plugins/YAPP/src/yapp_history_dlg.cpp @@ -182,8 +182,8 @@ int CALLBACK PopupsCompare(LPARAM lParam1, LPARAM lParam2, LPARAM myParam) TCHAR text2[MAX_SIZE]; int res; - ListView_GetItemText(params.hList, (int) lParam1, params.column, text1, MAX_SIZE); - ListView_GetItemText(params.hList, (int) lParam2, params.column, text2, MAX_SIZE); + ListView_GetItemText(params.hList, (int) lParam1, params.column, text1, SIZEOF(text1)); + ListView_GetItemText(params.hList, (int) lParam2, params.column, text2, SIZEOF(text2)); res = _tcsicmp(text1, text2); -- cgit v1.2.3