summaryrefslogtreecommitdiff
path: root/apps/pdfdraw.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-17 11:25:27 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-17 11:25:27 +0000
commitef3cc79b01ce4e0d5dbd5e9e43aaf07215b57f0b (patch)
treed18bf7a0c00ea47c93dca722715c071d24e44820 /apps/pdfdraw.c
parent9872faa4ce9699cc0f93ee68ba70f84d2b7579ad (diff)
downloadmupdf-ef3cc79b01ce4e0d5dbd5e9e43aaf07215b57f0b.tar.xz
Move device colorspace contants into the fitz namespace.
Diffstat (limited to 'apps/pdfdraw.c')
-rw-r--r--apps/pdfdraw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c
index f0601570..e0003246 100644
--- a/apps/pdfdraw.c
+++ b/apps/pdfdraw.c
@@ -292,13 +292,13 @@ int main(int argc, char **argv)
glyphcache = fz_newglyphcache();
- colorspace = pdf_devicergb;
+ colorspace = fz_devicergb;
if (grayscale)
- colorspace = pdf_devicegray;
+ colorspace = fz_devicegray;
if (output && strstr(output, ".pgm"))
- colorspace = pdf_devicegray;
+ colorspace = fz_devicegray;
if (output && strstr(output, ".ppm"))
- colorspace = pdf_devicergb;
+ colorspace = fz_devicergb;
timing.count = 0;
timing.total = 0;