浏览代码

* Fix from Paul Ishenin to fix assigning

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

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

@@ -217,7 +217,7 @@ var Col : TFPColor;
 begin
   fppal:=TFPPalette.Create(256);
   Col.Alpha:=AlphaOpaque;
-  for i:=$FF downto 0 do
+  for i:=0 to $FF do
   begin
     Col.Red:=i;
     Col.Red:=(Col.Red shl 8) + Col.Red;