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.31 by root, Thu Apr 26 00:39:18 2007 UTC vs.
Revision 1.32 by root, Thu Apr 26 00:41:32 2007 UTC

186 $ncolor > 8 or die "cannot reduce filesize to < 10000 bytes"; 186 $ncolor > 8 or die "cannot reduce filesize to < 10000 bytes";
187 } 187 }
188 188
189 printf "reduced %s from %d to %d bytes using %d colours.\n", 189 printf "reduced %s from %d to %d bytes using %d colours.\n",
190 $other, -s "$other~", -s "$other~~", $ncolor 190 $other, -s "$other~", -s "$other~~", $ncolor
191 if $VERBOSE > 0; 191 if $VERBOSE >= 2;
192 rename "$other~~", "$other~"; 192 rename "$other~~", "$other~";
193 } 193 }
194 194
195 die "$other~ has zero size, aborting." unless -s "$other~"; 195 die "$other~ has zero size, aborting." unless -s "$other~";
196 rename "$other~", $other; 196 rename "$other~", $other;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines