Commit e7901fbb LN

1

1 个父辈 051c7bb6
...@@ -565,7 +565,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -565,7 +565,7 @@ namespace OnlineStore.DeviceLibrary
if (LastHeight <= 8) { LastHeight = 8; } if (LastHeight <= 8) { LastHeight = 8; }
else else
{ {
LastHeight = (int)Math.Floor(1F * LastHeight / 4) * 4; LastHeight = (int)Math.Floor(1F * (LastHeight-1) / 4) * 4;
} }
LogUtil.info(msg + ",归类为" + LastHeight + "【" + LastCode + "】"); LogUtil.info(msg + ",归类为" + LastHeight + "【" + LastCode + "】");
return LastHeight; return LastHeight;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!