Przeglądaj źródła

* fixed an uninitialised variable, please check for correctness!

Jonas Maebe 21 lat temu
rodzic
commit
ee80396bab
1 zmienionych plików z 1 dodań i 0 usunięć
  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;