diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-07-20 14:43:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-07-20 14:43:51 +0000 |
commit | f8044c571465cfe674bf82066076340aa93d13d5 (patch) | |
tree | 0bc0917a4163cac50fbb72f77736c46fe88e7beb /perl-install/lang.pm | |
parent | 03b8951aa81080eabcd967eb6f1fe3a6fbc6f72a (diff) | |
download | drakx-f8044c571465cfe674bf82066076340aa93d13d5.tar drakx-f8044c571465cfe674bf82066076340aa93d13d5.tar.gz drakx-f8044c571465cfe674bf82066076340aa93d13d5.tar.bz2 drakx-f8044c571465cfe674bf82066076340aa93d13d5.tar.xz drakx-f8044c571465cfe674bf82066076340aa93d13d5.zip |
fix
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r-- | perl-install/lang.pm | 6 |
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/; } |