diff options
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r-- | perl-install/lang.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 79da314fe..78c8b954e 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -367,7 +367,8 @@ sub load_po($) { } else { open F, $f; #- not returning here help avoiding reading the same multiple times. } - foreach (<F>) { + local $_; + while (<F>) { /^msgstr/ and $state = 1; /^msgid/ && !$fuzzy and $state = 2; s/@/\\@/g; |