1
0
Fork 0
forked from len0rd/rockbox

make it deal with traling tabs as well as spaces

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3198 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2003-01-31 09:04:34 +00:00
parent 816bc8c6b1
commit 8f72d9eeb1

View file

@ -61,8 +61,8 @@ while(<LANG>) {
$set{$var} = $value;
if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) ||
(($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) {
if( (($var eq "new") && $value && ($value !~ /^\"(.*)\"\W*$/)) ||
(($var eq "eng") && ($value !~ /^\"(.*)\"\W*$/)) ) {
print "$input:$line:missing quotes for ".$set{'id'}."\n";
$errors++;
next;