From 164e83d527f7a221aca3a7ca5bba38055b2d1cef Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 16 Dec 2002 07:39:43 +0000 Subject: fix string_size() usage in get_text_coord() --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 95d03a670..9477bd283 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -622,7 +622,7 @@ sub get_text_coord { @t2 = @t; } foreach (@t2) { - my ($l, undef) = string_size($_ . (!$flag ? $wrap_char : '')); + my ($l, undef) = string_size($widget4style, $_ . (!$flag ? $wrap_char : '')); if ($width + $l > $max_width2 && !$flag) { $flag = 1; $height += $height_elem + 1; -- cgit v1.2.1