mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 08:50:16 +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;
|
||||
for item := low (TFontStyle) to high(TFontStyle) do
|
||||
if item in Value then
|
||||
result := result + 1 shr ord(item);
|
||||
result := result + 1 shl ord(item);
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user