mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 15:00:24 +02:00
synedit: fised implementation of GetStyleIndex, hint from Martin Friebe (issue #12620)
git-svn-id: trunk@17376 -
This commit is contained in:
parent
30f4e50753
commit
34b6f45af2
@ -403,7 +403,7 @@ begin
|
|||||||
result := 0;
|
result := 0;
|
||||||
for item := low (TFontStyle) to high(TFontStyle) do
|
for item := low (TFontStyle) to high(TFontStyle) do
|
||||||
if item in Value then
|
if item in Value then
|
||||||
result := result + 1 shr ord(item);
|
result := result + 1 shl ord(item);
|
||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user