[Po4a-commits] po4a/lib/Locale/Po4a TransTractor.pm,1.46,1.47

Denis Barbier po4a-devel@lists.alioth.debian.org
Thu, 26 Aug 2004 23:23:36 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv10189/lib/Locale/Po4a

Modified Files:
	TransTractor.pm 
Log Message:
Fix recode_skipped_text().


Index: TransTractor.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TransTractor.pm,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- TransTractor.pm	25 Aug 2004 16:17:05 -0000	1.46
+++ TransTractor.pm	26 Aug 2004 23:23:34 -0000	1.47
@@ -949,11 +949,11 @@
 	    length($self->{TT}{'file_in_charset'}) ) {
 	    Encode::from_to($text,$self->{TT}{'file_in_charset'},
 		$self->get_out_charset);
-	    return $text;
 	} else {
 	    die "po4a: ".sprintf(dgettext("po4a","Couldn't determine the input document's charset. Please specify it on the command line. (non-ascii char at %s)"),$self->{TT}{non_ascii_ref})."\n"
 	}
     }
+    return $text;
 }
 
 =back