2006-09-24 05:04:34 +00:00
|
|
|
diff -ur netpbm-10.35.orig/editor/ppmquantall netpbm-10.35/editor/ppmquantall
|
|
|
|
--- netpbm-10.35.orig/editor/ppmquantall 2006-09-22 13:47:25.000000000 -0400
|
|
|
|
+++ netpbm-10.35/editor/ppmquantall 2006-09-22 13:48:07.000000000 -0400
|
|
|
|
@@ -62,8 +62,8 @@
|
|
|
|
# To be robust, we need to use Pnmfile to get that information, or
|
|
|
|
# Put this program in C and use ppm_readppminit().
|
|
|
|
|
|
|
|
-set widths=()
|
|
|
|
-set heights=()
|
2007-08-20 12:04:27 +00:00
|
|
|
+widths=()
|
|
|
|
+heights=()
|
2006-09-24 05:04:34 +00:00
|
|
|
|
|
|
|
for i in ${files[@]}; do
|
|
|
|
widths=(${widths[*]} `grep -v '^#' $i | sed '1d; s/ .*//; 2q'`)
|