summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index cfbe04784..542089868 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -981,7 +981,7 @@ sub write {
s/^(Language)=.*/$1=$locale->{lang}/;
if (!member($kde_charset, 'iso8859-1', 'iso8859-15')) {
#- don't keep the default for those
- my $font_list = $charset2kde_font{$charset} || $charset2kde_font{default};
+ my $font_list = $charset2kde_font{l2charset($locale->{lang})} || $charset2kde_font{default};
my $font_small = $font_list->[0];
my $font_huge = $font_small;
$font_huge =~ s/(.*?),\d+/$1,24/;