mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 20:39:28 +02:00
* Allow width 0 (bug ID 23662)
git-svn-id: trunk@26722 -
This commit is contained in:
parent
68429834a7
commit
576eadf6c9
@ -21,8 +21,8 @@ end;
|
||||
|
||||
procedure TFPCustomPen.SetWidth (AValue : Integer);
|
||||
begin
|
||||
if AValue < 1 then
|
||||
FWidth := 1
|
||||
if AValue < 0 then
|
||||
FWidth := 0
|
||||
else
|
||||
FWidth := AValue;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user