Mercurial > octave
changeset 19239:b8ffcb88d77c gui-release
* QtHandlesUtils.cc: Fix typo in previous change.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 09 Oct 2014 16:06:02 -0400 |
parents | eb9b2160e878 |
children | 536dadff0226 |
files | libgui/graphics/QtHandlesUtils.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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<octave_idx_type (width)); - int h = qMin (dv(0), static_cast<octave_idx_type (height)); + int w = qMin (dv(1), static_cast<octave_idx_type> (width)); + int h = qMin (dv(0), static_cast<octave_idx_type> (height)); int x_off = (w < width ? (width - w) / 2 : 0); int y_off = (h < height ? (height - h) / 2 : 0);