diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-29 23:15:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-29 23:15:40 +0300 |
commit | fea78a9f8fc0e587c30606c8fdf153f6f7c1244f (patch) | |
tree | 32ff03c46b6839cffbcc561187494e5ac8468bd6 | |
parent | d11ddc8ef4b7f55c53abb735bca00e4192533579 (diff) |
Clist_Modern: fix for crash on startup
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.h | 2 |
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;
}
};
|