[Bps-public-commit] r13388 - in App-Todo: bin

trs at bestpractical.com trs at bestpractical.com
Wed Jun 18 12:26:41 EDT 2008


Author: trs
Date: Wed Jun 18 12:26:41 2008
New Revision: 13388

Modified:
   App-Todo/   (props changed)
   App-Todo/META.yml
   App-Todo/bin/todo.pl

Log:
 r36230 at zot:  tom | 2008-06-18 12:26:35 -0400
 Fix check of $config{color}


Modified: App-Todo/META.yml
==============================================================================
--- App-Todo/META.yml	(original)
+++ App-Todo/META.yml	Wed Jun 18 12:26:41 2008
@@ -26,4 +26,4 @@
   Term::Encoding: 0
   Term::ReadKey: 0
   YAML: 0
-version: 0.95
+version: 0.96

Modified: App-Todo/bin/todo.pl
==============================================================================
--- App-Todo/bin/todo.pl	(original)
+++ App-Todo/bin/todo.pl	Wed Jun 18 12:26:41 2008
@@ -94,7 +94,7 @@
     setup_config();
 
     # If they don't want color, switch it off
-    if ( $config{color} eq 'off' ) {
+    if ( defined $config{color} and $config{color} eq 'off' ) {
         *color   = *_color_passthru;
         *colored = *_colored_passthru;
     }



More information about the Bps-public-commit mailing list