summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/yapp_history_dlg.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-01 00:33:09 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-01 00:33:09 +0000
commitfaccf4803bd25abbb27402ab1127d085efd9061f (patch)
tree36ff52c5affad34aa47c98a18ca246ec474d13ec /plugins/YAPP/src/yapp_history_dlg.cpp
parentb2fad485cd5b41744ef0cc4a02722c021afd926c (diff)
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp_history_dlg.cpp')
-rw-r--r--plugins/YAPP/src/yapp_history_dlg.cpp4
1 files changed, 2 insertions, 2 deletions
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);