Commit 1a7e7c83 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: operator priority

parent 2d5a1a6f
......@@ -699,7 +699,7 @@ QRect PictureFlowSoftwareRenderer::renderSlide(const SlideInfo &slide, int col1,
PFreal ys = slide.cy - state->slideWidth * sdy / 2;
PFreal dist = distance * PFREAL_ONE;
int xi = qMax((PFreal)0, (w * PFREAL_ONE / 2) + fdiv(xs * h, dist + ys) >> PFREAL_SHIFT);
int xi = qMax((PFreal)0, ((w * PFREAL_ONE / 2) + fdiv(xs * h, dist + ys)) >> PFREAL_SHIFT);
if (xi >= w)
{
return rect;
......
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