Commit ecc23e35 authored by Boudewijn Rempt's avatar Boudewijn Rempt

fix build

parent db224097
......@@ -486,7 +486,7 @@ void DlgCanvasSize::updateOffset(int id)
void DlgCanvasSize::expectedOffset(int id, double &xOffset, double &yOffset)
{
const double xCoeff = (id % 3.0) * 0.5;
const double xCoeff = (id % 3) * 0.5;
const double yCoeff = (id / 3.0) * 0.5;
const int xDiff = m_newWidth - m_originalWidth;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment