summaryrefslogtreecommitdiff
path: root/source/gprf
diff options
context:
space:
mode:
Diffstat (limited to 'source/gprf')
-rw-r--r--source/gprf/gprf-doc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gprf/gprf-doc.c b/source/gprf/gprf-doc.c
index 2d77009b..dbd43ff7 100644
--- a/source/gprf/gprf-doc.c
+++ b/source/gprf/gprf-doc.c
@@ -253,6 +253,7 @@ static inline unsigned char *cmyk_to_rgba(unsigned char *out, uint32_t c, uint32
g >>= 8;
if (g > 255)
g = 255;
+ b >>= 8;
if (b > 255)
b = 255;
#else