diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-16 14:23:28 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-16 14:23:28 +0000 |
commit | 581a7a4fca5155decdc48ee1972af806d24c6ceb (patch) | |
tree | 9b9a9be8923231a1ac8a073480d432456ea312a2 /plugins/Clist_modern/src/modern_rowheight_funcs.cpp | |
parent | 8677ac8db6aa7528fdb84bf3cd8a996a3f45e254 (diff) |
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_rowheight_funcs.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_rowheight_funcs.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Clist_modern/src/modern_rowheight_funcs.cpp b/plugins/Clist_modern/src/modern_rowheight_funcs.cpp index f6a450aa27..bc2aee1df6 100644 --- a/plugins/Clist_modern/src/modern_rowheight_funcs.cpp +++ b/plugins/Clist_modern/src/modern_rowheight_funcs.cpp @@ -318,11 +318,7 @@ int mod_CalcRowHeight_worker(ClcData *dat, HWND hwnd, ClcContact *contact, int i return height;
}
-/*
-*
-*/
-
-BOOL RowHeights_Initialize(struct ClcData *dat)
+BOOL RowHeights_Initialize(struct ClcData *dat)
{
dat->rowHeight = 0;
dat->row_heights_size = 0;
@@ -589,7 +585,7 @@ int RowHeights_GetRowHeight_worker(ClcData *dat, HWND hwnd, ClcContact *contact, // Icon size
if (!dat->icon_ignore_size_for_row_height) {
- if (contact->type == CLCIT_GROUP ||
+ if (contact->type == CLCIT_GROUP ||
(contact->type == CLCIT_CONTACT && contact->iImage != -1 && !(dat->icon_hide_on_avatar && dat->avatars_show && contact->avatar_data != NULL && !contact->image_is_special)))
{
height = max(height, ICON_HEIGHT);
|