summaryrefslogtreecommitdiff
path: root/source/fitz/colorspace-imp.h
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-10-01 17:21:04 +0800
committerTor Andersson <tor.andersson@artifex.com>2018-10-23 18:46:01 +0200
commit01e9e1a87216a4747d8ae3112dc79fd64ba50e85 (patch)
treec8efcd4f76dcdc96ab8fc5adc315e59282378fad /source/fitz/colorspace-imp.h
parenta41c299d64c5ab8871a2ddbc4c0ae7b1b1d9e8dc (diff)
downloadmupdf-01e9e1a87216a4747d8ae3112dc79fd64ba50e85.tar.xz
Dynamically allocate colorspace name, to allow arbitrary lengths.
Diffstat (limited to 'source/fitz/colorspace-imp.h')
-rw-r--r--source/fitz/colorspace-imp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/colorspace-imp.h b/source/fitz/colorspace-imp.h
index fe052baf..52042d4e 100644
--- a/source/fitz/colorspace-imp.h
+++ b/source/fitz/colorspace-imp.h
@@ -26,7 +26,7 @@ struct fz_colorspace_s
{
fz_key_storable key_storable;
size_t size;
- char name[24];
+ char *name;
enum fz_colorspace_type type;
int flags;
int n;