Not my day. Fix order of height and width args of textbox in gdialog wrapper.

This commit is contained in:
Mike Newman 2003-05-27 18:05:18 +00:00
parent 15c5b0f48e
commit 34f3758977

View File

@ -119,14 +119,14 @@ ARG: while ($argn < $args) {
# width and height matter for this one, so get them # width and height matter for this one, so get them
# and apply the same multipliers as used in gdialog # and apply the same multipliers as used in gdialog
$argn++;
get_arg;
$element = $element * 8;
$command .= "--width=\"$element\" ";
$argn++; $argn++;
get_arg; get_arg;
$element = $element * 7; $element = $element * 7;
$command .= "--height=\"$element\" "; $command .= "--height=\"$element\" ";
$argn++;
get_arg;
$element = $element * 8;
$command .= "--width=\"$element\" ";
last ARG; last ARG;
} }