Introduction
Introduction Statistics Contact Development Disclaimer Help
tsrc/cmd/page/gfx.c: use C89 array initialiser - plan9port - [fork] Plan 9 from…
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 8f6514208e4890e923e9e5c608339d89550d695a
parent 7c8e7ef4c47b40ab9996fe98d72341cde0b5ab40
Author: Albert Lee <[email protected]>
Date: Mon, 1 Dec 2008 19:24:34 -0500
src/cmd/page/gfx.c: use C89 array initialiser
Diffstat:
M src/cmd/page/gfx.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/cmd/page/gfx.c b/src/cmd/page/gfx.c
t@@ -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/pc…
-[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…
-[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…
+ { "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);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.