Browse Source

* fixed an uninitialised variable, please check for correctness!

Jonas Maebe 21 years ago
parent
commit
ee80396bab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fcl/image/fpcanvas.inc

+ 1 - 0
fcl/image/fpcanvas.inc

@@ -404,6 +404,7 @@ var p,b,dp,db,pb : boolean;
 begin
   p := Pen.style <> psClear;
   b := Brush.style <> bsClear;
+  pb := false;
   if p and (Pen is TFPCustomDrawPen) then
       begin
       p := false;