[Po4a-commits] po4a/lib/Locale/Po4a TeX.pm,1.16,1.17
Nicolas FRAN??OIS
po4a-devel@lists.alioth.debian.org
Tue, 15 Feb 2005 22:04:25 +0000
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv13745/lib/Locale/Po4a
Modified Files:
TeX.pm
Log Message:
Minor indentation fix.
Index: TeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TeX.pm,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- TeX.pm 14 Feb 2005 23:19:24 -0000 1.16
+++ TeX.pm 15 Feb 2005 22:04:22 -0000 1.17
@@ -633,20 +633,20 @@
}
}
if (length($textline)) {
- my @entry=($textline,$ref);
- push @entries, @entry;
+ my @entry=($textline,$ref);
+ push @entries, @entry;
- # Detect if this file has non-ascii characters
- if($self->{TT}{ascii_input}) {
+ # Detect if this file has non-ascii characters
+ if($self->{TT}{ascii_input}) {
- my $decoder = guess_encoding($textline);
- if (!ref($decoder) or $decoder !~ /Encode::XS=/) {
- # We have detected a non-ascii line
- $self->{TT}{ascii_input} = 0;
- # Save the reference for future error message
- $self->{TT}{non_ascii_ref} ||= $ref;
+ my $decoder = guess_encoding($textline);
+ if (!ref($decoder) or $decoder !~ /Encode::XS=/) {
+ # We have detected a non-ascii line
+ $self->{TT}{ascii_input} = 0;
+ # Save the reference for future error message
+ $self->{TT}{non_ascii_ref} ||= $ref;
+ }
}
- }
}
}
close $in