From 219ae389145f18db6577d823f0e56b87515da692 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Aug 2005 07:18:33 +0000 Subject: we can't differentiate all the scim+xxx IMs, so we ensure we prefer "scim+(default)" --- perl-install/lang.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/lang.pm') diff --git a/perl-install/lang.pm b/perl-install/lang.pm index bc6d77d76..15e024e13 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -969,7 +969,7 @@ sub read { my $locale = system_locales_to_ourlocale($h{LC_MESSAGES} || 'en_US', $h{LC_MONETARY} || 'en_US'); if (find { $h{$_} } @IM_i18n_fields) { - my @l = keys %IM_config; + my @l = grep { !/^scim/ || /\(default\)/ } keys %IM_config; foreach my $field ('XMODIFIERS', 'XIM_PROGRAM') { $h{$field} or next; my @m = grep { $h{$field} eq $IM_config{$_}{$field} } @l or last; -- cgit v1.2.1