Browse Source

* Allow width 0 (bug ID 23662)

git-svn-id: trunk@26722 -
michael 11 years ago
parent
commit
576eadf6c9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-image/src/fppen.inc

+ 2 - 2
packages/fcl-image/src/fppen.inc

@@ -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;