diff --git a/src/libs/vlayout/vposition.cpp b/src/libs/vlayout/vposition.cpp index 26b0307af..2efdaf603 100644 --- a/src/libs/vlayout/vposition.cpp +++ b/src/libs/vlayout/vposition.cpp @@ -660,7 +660,7 @@ QVector VPosition::CutEdge(const QLineF &edge, unsigned int shift) //--------------------------------------------------------------------------------------------------------------------- void VPosition::Rotate(int increase) { - for (int angle = 0; angle <= 360; angle = angle+increase) + for (int angle = 0; angle < 360; angle = angle+increase) { if (*stop) {