소스 검색

* Allow width 0 (bug ID 23662)

git-svn-id: trunk@26722 -
michael 11 년 전
부모
커밋
576eadf6c9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;