summaryrefslogtreecommitdiff
path: root/fitz/dev_null.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-06-22 19:57:26 +0200
committerTor Andersson <tor@ghostscript.com>2010-06-22 19:57:26 +0200
commit0edb7f95c50f0012ae173b3fa42cebe2905f1826 (patch)
tree94480fda293955fe7a6aa253e5dadd178a0798f8 /fitz/dev_null.c
parent7c2008556ad928cfa2845f1532c63dfdedbd768b (diff)
downloadmupdf-0edb7f95c50f0012ae173b3fa42cebe2905f1826.tar.xz
Add hints flag to device struct so that the interpreter doesn't need to load image resources for dev_text.
Diffstat (limited to 'fitz/dev_null.c')
-rw-r--r--fitz/dev_null.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/dev_null.c b/fitz/dev_null.c
index 9e4ee764..1c3788a5 100644
--- a/fitz/dev_null.c
+++ b/fitz/dev_null.c
@@ -22,6 +22,8 @@ fz_newdevice(void *user)
fz_device *dev = fz_malloc(sizeof(fz_device));
memset(dev, 0, sizeof(fz_device));
+ dev->hints = 0;
+
dev->user = user;
dev->freeuser = fz_nullfreeuser;