ソースを参照

* Nano optimization. Fixes #40590

Michaël Van Canneyt 1 年間 前
コミット
08b7881083
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/fcl-image/src/fpreadbmp.pp

+ 1 - 1
packages/fcl-image/src/fpreadbmp.pp

@@ -153,7 +153,7 @@ begin
     exit;
   end;
 
-  while (Mask mod 2)=0 do { rightmost bit is 0 }
+  while (Mask and 1)=0 do { rightmost bit is 0 }
   begin
     inc(tmp);
     Mask:= Mask shr 1;