summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
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 5c581ed54..db10afab5 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -644,7 +644,7 @@ sub get_text_coord {
my $flag = 1;
my @t = split($wrap_char, $text);
my @t2;
- if ($::isInstall && $::o->{lang} =~ /ja|zh/) {
+ if ($::isInstall && $::o->{locale}{lang} =~ /ja|zh/) {
@t = map { $_ . $wrap_char } @t;
$wrap_char = '';
foreach (@t) {