diff options
author | Albert Lee <trisk@acm.jhu.edu> | 2008-12-01 19:24:34 -0500 |
---|---|---|
committer | Albert Lee <trisk@acm.jhu.edu> | 2008-12-01 19:24:34 -0500 |
commit | 8f6514208e4890e923e9e5c608339d89550d695a (patch) | |
tree | bab8a8d0c37c4aca52d84d1e157e22a680c0f712 /src/cmd/page | |
parent | 7c8e7ef4c47b40ab9996fe98d72341cde0b5ab40 (diff) | |
download | plan9port-8f6514208e4890e923e9e5c608339d89550d695a.tar.gz plan9port-8f6514208e4890e923e9e5c608339d89550d695a.tar.bz2 plan9port-8f6514208e4890e923e9e5c608339d89550d695a.zip |
src/cmd/page/gfx.c: use C89 array initialiser
Diffstat (limited to 'src/cmd/page')
-rw-r--r-- | src/cmd/page/gfx.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/cmd/page/gfx.c b/src/cmd/page/gfx.c index e8b40d03..67935ec9 100644 --- a/src/cmd/page/gfx.c +++ b/src/cmd/page/gfx.c @@ -28,20 +28,20 @@ struct GfxInfo { * with an empty string. */ Convert cvt[] = { -[Ipic] { "plan9", "fb/3to1 rgbv %a |fb/pcp -tplan9" }, -[Itiff] { "tiff", "fb/tiff2pic %a | fb/3to1 rgbv | fb/pcp -tplan9" }, -[Iplan9bm] { "plan9bm", nil }, -[Ijpeg] { "jpeg", "jpg -9 %a", "jpg -t9 %a" }, -[Igif] { "gif", "gif -9 %a", "gif -t9 %a" }, -[Iinferno] { "inferno", nil }, -[Ifax] { "fax", "aux/g3p9bit -g %a" }, -[Icvt2pic] { "unknown", "fb/cvt2pic %a |fb/3to1 rgbv" }, -[Ippm] { "ppm", "ppm -9 %a", "ppm -t9 %a" }, + { "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" }, + { "ppm", "ppm -9 %a", "ppm -t9 %a" }, /* ``temporary'' hack for hobby */ -[Iccittg4] { "ccitt-g4", "cat %a|rx nslocum /usr/lib/ocr/bin/bcp -M|fb/pcp -tcompressed -l0" }, -[Ipng] { "png", "png -9 %a", "png -t9 %a" }, -[Iyuv] { "yuv", "yuv -9 %a", "yuv -t9 %a" }, -[Ibmp] { "bmp", "bmp -9 %a", "bmp -t9 %a" }, + { "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" }, }; static Image* gfxdrawpage(Document *d, int page); |