diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-10-01 17:21:04 +0800 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-10-23 18:46:01 +0200 |
commit | 01e9e1a87216a4747d8ae3112dc79fd64ba50e85 (patch) | |
tree | c8efcd4f76dcdc96ab8fc5adc315e59282378fad /source/fitz/colorspace-imp.h | |
parent | a41c299d64c5ab8871a2ddbc4c0ae7b1b1d9e8dc (diff) | |
download | mupdf-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.h | 2 |
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; |