summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-29 23:15:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-29 23:15:40 +0300
commitfea78a9f8fc0e587c30606c8fdf153f6f7c1244f (patch)
tree32ff03c46b6839cffbcc561187494e5ac8468bd6 /plugins/Clist_modern
parentd11ddc8ef4b7f55c53abb735bca00e4192533579 (diff)
Clist_Modern: fix for crash on startup
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/modern_clc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.h b/plugins/Clist_modern/src/modern_clc.h
index aae64ead66..d90fa0b5e9 100644
--- a/plugins/Clist_modern/src/modern_clc.h
+++ b/plugins/Clist_modern/src/modern_clc.h
@@ -318,7 +318,7 @@ struct ClcData : public ClcDataBase
BYTE bCompactMode;
__forceinline int getRowHeight(int iRow) const
- { return (row_variable_height) ? row_heights[iRow] : rowHeight;
+ { return (row_heights && row_variable_height) ? row_heights[iRow] : rowHeight;
}
};