diff --git a/Packages/Qt_widget/src/CGALQt/Qt_widget.C b/Packages/Qt_widget/src/CGALQt/Qt_widget.C index 0cd5f378d65..87da790515c 100644 --- a/Packages/Qt_widget/src/CGALQt/Qt_widget.C +++ b/Packages/Qt_widget/src/CGALQt/Qt_widget.C @@ -379,7 +379,7 @@ void Qt_widget::zoom(double ratio) { zoom(ratio, xmin + (xmax - xmin) / 2 , - xmin + (ymax - ymin) / 2 ); + ymin + (ymax - ymin) / 2 ); } #ifdef CGAL_USE_GMP