summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 6882f9bba..77dfb5f5b 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -439,7 +439,7 @@ sub load_po {
/^msgid/ && !$fuzzy and $state = 'msgid';
s/@/\\@/g;
- if (/^(#|$)/ && $state != 'between') {
+ if (/^(#|$)/ && $state ne 'between') {
$state = 'between';
$to = c::iconv($to, $lang::charset, c::standard_charset());
if (my @l = $to =~ /%(\d+)\$/g) {
@@ -455,8 +455,8 @@ sub load_po {
}
$from = $to = '';
}
- $to .= (/"(.*)"/)[0] if $state == 'msgstr';
- $from .= (/"(.*)"/)[0] if $state == 'msgid';
+ $to .= (/"(.*)"/)[0] if $state eq 'msgstr';
+ $from .= (/"(.*)"/)[0] if $state eq 'msgid';
$fuzzy = /^#, fuzzy/;
}