projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a couple more 'string concat on array push' bugs like the
[squirrelmail.git]
/
po
/
charsetconvert.pl
diff --git
a/po/charsetconvert.pl
b/po/charsetconvert.pl
index 7443b6dd9099e026e740758cfd0a4700ea35d66f..7c3a52dd28a499c0c4e0003f3a94ef00d17814a2 100755
(executable)
--- a/
po/charsetconvert.pl
+++ b/
po/charsetconvert.pl
@@
-14,16
+14,16
@@
while (<>) {
unless (/^\#/) {
($orig_text, $unicode_text, $dummy, $name) = split /\t/;
unless (/^\#/) {
($orig_text, $unicode_text, $dummy, $name) = split /\t/;
-
- # oct does not only do what it's name suggest. If a string starts
+
+ # oct does not only do what it's name suggest. If a string starts
# with 0x it is interpreted as a hexadecimal value.
$orig = oct $orig_text;
$unicode = oct $unicode_text;
# with 0x it is interpreted as a hexadecimal value.
$orig = oct $orig_text;
$unicode = oct $unicode_text;
-
+
if ($orig >= $min) {
if ($orig >= $min) {
- print "
#
$name\n";
- printf ('
$string = str_replace("\%o", "&#%d")
, $string);'."\n",
- $orig, $unicode);
+ print "
//
$name\n";
+ printf ('
$string = str_replace("\%o", "&#%d"
, $string);'."\n",
+
$orig, $unicode);
}
}
- }
+ }
}
}