summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-12-16 07:39:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-12-16 07:39:43 +0000
commit164e83d527f7a221aca3a7ca5bba38055b2d1cef (patch)
treeb8092aefa4caa2f05324829ff32d966a2ba730f3 /perl-install/ugtk2.pm
parent86b54e6066ab2d94f349887f1ab239acb85e1804 (diff)
downloaddrakx-164e83d527f7a221aca3a7ca5bba38055b2d1cef.tar
drakx-164e83d527f7a221aca3a7ca5bba38055b2d1cef.tar.gz
drakx-164e83d527f7a221aca3a7ca5bba38055b2d1cef.tar.bz2
drakx-164e83d527f7a221aca3a7ca5bba38055b2d1cef.tar.xz
drakx-164e83d527f7a221aca3a7ca5bba38055b2d1cef.zip
fix string_size() usage in get_text_coord()
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
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;