commit e9a2f2e357c8b0b207be073db69bd96a587c1768
parent 8f6514208e4890e923e9e5c608339d89550d695a
Author: Russ Cox <rsc@swtch.com>
Date: Sat, 6 Dec 2008 15:46:58 -0800
page: reorder cvt[] array to match enum
Diffstat:
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/cmd/page/gfx.c b/src/cmd/page/gfx.c
@@ -30,15 +30,13 @@ struct GfxInfo {
Convert cvt[] = {
{ "plan9", "fb/3to1 rgbv %a |fb/pcp -tplan9" },
{ "tiff", "fb/tiff2pic %a | fb/3to1 rgbv | fb/pcp -tplan9" },
- { "plan9bm", nil },
{ "jpeg", "jpg -9 %a", "jpg -t9 %a" },
{ "gif", "gif -9 %a", "gif -t9 %a" },
{ "inferno", nil },
{ "fax", "aux/g3p9bit -g %a" },
{ "unknown", "fb/cvt2pic %a |fb/3to1 rgbv" },
+ { "plan9bm", nil },
{ "ppm", "ppm -9 %a", "ppm -t9 %a" },
-/* ``temporary'' hack for hobby */
- { "ccitt-g4", "cat %a|rx nslocum /usr/lib/ocr/bin/bcp -M|fb/pcp -tcompressed -l0" },
{ "png", "png -9 %a", "png -t9 %a" },
{ "yuv", "yuv -9 %a", "yuv -t9 %a" },
{ "bmp", "bmp -9 %a", "bmp -t9 %a" },
diff --git a/src/cmd/page/page.h b/src/cmd/page/page.h
@@ -31,7 +31,6 @@ enum {
Ifax,
Icvt2pic,
Iplan9bm,
- Iccittg4,
Ippm,
Ipng,
Iyuv,