[Po4a-commits] "po4a/lib/Locale/Po4a Common.pm,1.18,1.19"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Thu Jan 15 22:24:21 UTC 2009


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv9809/lib/Locale/Po4a

Modified Files:
	Common.pm 
Log Message:
	* lib/Locale/Po4a/Common.pm: Remove -t STDOUT test, already
	enclosed in a -t STDOUT test.


Index: Common.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Common.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- Common.pm	15 Jan 2009 22:11:11 -0000	1.18
+++ Common.pm	15 Jan 2009 22:24:19 -0000	1.19
@@ -60,7 +60,7 @@
     
         # Don't bother determining the wrap column if we cannot wrap.
         my $col=$ENV{COLUMNS};
-        if (!defined $col && -t STDOUT) {
+        if (!defined $col) {
             my @term=eval "use Term::ReadKey; Term::ReadKey::GetTerminalSize()";
             $col=$term[0] if (!$@);
             # If GetTerminalSize() failed we will fallback to a safe default.




More information about the Po4a-commits mailing list