mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:39:13 +02:00
LazEdit: fixed array size for fontstyles. Issue #41591
This commit is contained in:
parent
9e823adba9
commit
8d90204cab
@ -37,7 +37,7 @@ type
|
|||||||
|
|
||||||
TLazEditTextGridPainterFontInfo = class(TRefCountedObject)
|
TLazEditTextGridPainterFontInfo = class(TRefCountedObject)
|
||||||
strict private const
|
strict private const
|
||||||
HIGH_ORD_FONTSTYLES = (1 << ord(High(TFontStyle)) );
|
HIGH_ORD_FONTSTYLES = (2 << ord(High(TFontStyle)) ) - 1;
|
||||||
strict private type
|
strict private type
|
||||||
TLazEditTextGridPainterFontStyleInfo = record
|
TLazEditTextGridPainterFontStyleInfo = record
|
||||||
Font: TFont;
|
Font: TFont;
|
||||||
|
Loading…
Reference in New Issue
Block a user