ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/utils/cfutil.in
(Generate patch)

Comparing deliantra/server/utils/cfutil.in (file contents):
Revision 1.111 by root, Fri Apr 22 02:03:12 2011 UTC vs.
Revision 1.112 by root, Fri Apr 22 02:15:45 2011 UTC

626 my @plt; 626 my @plt;
627 my %map; 627 my %map;
628 628
629 for (split /\n/, $plt) { 629 for (split /\n/, $plt) {
630 next unless /\S/; 630 next unless /\S/;
631 next if /^\s*#/;
631 632
632 /^([0-9a-fA-F]{3,6})\s*(.*?)\s*$/ 633 /^([0-9a-fA-F]{3,6})\s*(.*?)\s*$/
633 or die "unparseable palette entry for $base.plt: $_"; 634 or die "unparseable palette entry for $base.plt: $_";
634 635
635 my ($rgb, $name) = ($1, $2); 636 my ($rgb, $name) = ($1, $2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines