# HG changeset patch # User John W. Eaton # Date 1412885162 14400 # Node ID b8ffcb88d77cee47f1ebed585efed8db7cfc6fa4 # Parent eb9b2160e87807a9b41cc54cbad1a19e31de50db * QtHandlesUtils.cc: Fix typo in previous change. diff -r eb9b2160e878 -r b8ffcb88d77c libgui/graphics/QtHandlesUtils.cc --- a/libgui/graphics/QtHandlesUtils.cc Thu Oct 09 15:45:50 2014 -0400 +++ b/libgui/graphics/QtHandlesUtils.cc Thu Oct 09 16:06:02 2014 -0400 @@ -220,8 +220,8 @@ if (dv.length () == 3 && dv(2) == 3) { - int w = qMin (dv(1), static_cast (width)); + int h = qMin (dv(0), static_cast (height)); int x_off = (w < width ? (width - w) / 2 : 0); int y_off = (h < height ? (height - h) / 2 : 0);