summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 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;