浏览代码

* Fixed bug ID #25675

git-svn-id: trunk@26723 -
michael 11 年之前
父节点
当前提交
c0ea463b7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-image/src/fpcanvas.inc

+ 1 - 1
packages/fcl-image/src/fpcanvas.inc

@@ -609,7 +609,7 @@ begin
   nb:= Brush.style <> bsClear;  // Need brush ?
   dp:=(pen is TFPCustomDrawPen); // Pen draws ?
   db:=(brush is TFPCustomDrawBrush); // Brush draws ?
-  if (np and nb) and not (db or db) then
+  if (np and nb) and not (db or dp) then
     DoRectangleAndFill (bounds)
   else
     begin