summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-07 14:57:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-07 14:57:52 +0000
commit9cd2417aa9352b4f41cd3abf2ff54b6457b053fb (patch)
tree3e8e58c6588ae728216a0f481ca638c46d3016d2 /plugins/Clist_modern
parent4ab0727b40fcccdf5df9a9c8219749ab7881dc86 (diff)
fix for the auto-height calculation in clist_modern
git-svn-id: http://svn.miranda-ng.org/main/trunk@16812 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/modern_rowheight_funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_rowheight_funcs.cpp b/plugins/Clist_modern/src/modern_rowheight_funcs.cpp
index 93f51e9cdc..90f35d1b23 100644
--- a/plugins/Clist_modern/src/modern_rowheight_funcs.cpp
+++ b/plugins/Clist_modern/src/modern_rowheight_funcs.cpp
@@ -584,7 +584,7 @@ int cliGetRowBottomY(ClcData *dat, int item)
int cliGetRowTotalHeight(ClcData *dat)
{
if (!dat->row_variable_height)
- return dat->rowHeight * dat->row_heights_size;
+ return corecli.pfnGetRowTotalHeight(dat);
int y = 0;
for (int i = 0; i < dat->row_heights_size; i++)