diff --git a/src/qgsmapcanvas.cpp b/src/qgsmapcanvas.cpp index 2c0f1666be5..1584a68765a 100644 --- a/src/qgsmapcanvas.cpp +++ b/src/qgsmapcanvas.cpp @@ -625,7 +625,7 @@ void QgsMapCanvas::render(QPaintDevice * theQPaintDevice) if ((mCanvasProperties->currentExtent.width() > 0 && mCanvasProperties->currentExtent.width() < minExtent) || (mCanvasProperties->currentExtent.height() > 0 && - mCanvasProperties->currentExtent.height() < minExtent) + mCanvasProperties->currentExtent.height() < minExtent)) { // Go back to the previous extent mCanvasProperties->currentExtent =