summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
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;
}
};