[Bio] / FigKernelPackages / gjocolorlib.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/gjocolorlib.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4, Fri Sep 17 23:50:54 2010 UTC revision 1.5, Fri Sep 17 23:53:15 2010 UTC
# Line 880  Line 880 
880    
881  sub gray2html {  sub gray2html {
882      my ( $gray ) = @_;      my ( $gray ) = @_;
883      if ( $gray > 1 ) { $gray = 1 } elsif ( $gray < 0 ) { $gary = 0 }      if ( $gray > 1 ) { $gray = 1 } elsif ( $gray < 0 ) { $gray = 0 }
884      my $hex = sprintf "%02x", $gray;      my $hex = sprintf "%02x", $gray;
885      join( '', '#', $gray, $gray, $gray )      join( '', '#', $gray, $gray, $gray )
886  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3