diff options
Diffstat (limited to 'setup_native/source/packinfo/spellchecker_selection.pl')
-rw-r--r-- | setup_native/source/packinfo/spellchecker_selection.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setup_native/source/packinfo/spellchecker_selection.pl b/setup_native/source/packinfo/spellchecker_selection.pl index b30a843e4acd..87f7cc204dcb 100644 --- a/setup_native/source/packinfo/spellchecker_selection.pl +++ b/setup_native/source/packinfo/spellchecker_selection.pl @@ -27,8 +27,9 @@ while (<>) { @{$map{$lang}} = (); } else { @{$map{$lang}} = split(/,/, $dicts); - $max = max($max, scalar(@{$map{$lang}})); } + push(@{$map{$lang}}, ('en')) unless grep($_ eq 'en', @{$map{$lang}}); + $max = max($max, scalar(@{$map{$lang}})); } ++$max; |