From f8044c571465cfe674bf82066076340aa93d13d5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 20 Jul 2001 14:43:51 +0000 Subject: fix --- perl-install/lang.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/lang.pm') 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/; } -- cgit v1.2.1