LazEdit: fixed array size for fontstyles. Issue #41591

This commit is contained in:
Martin 2025-04-14 10:43:10 +02:00
parent 9e823adba9
commit 8d90204cab

View File

@ -37,7 +37,7 @@ type
TLazEditTextGridPainterFontInfo = class(TRefCountedObject)
strict private const
HIGH_ORD_FONTSTYLES = (1 << ord(High(TFontStyle)) );
HIGH_ORD_FONTSTYLES = (2 << ord(High(TFontStyle)) ) - 1;
strict private type
TLazEditTextGridPainterFontStyleInfo = record
Font: TFont;