Bump for 4.0-15
[LibreOffice.git] / xpdf / xpdf-3.02-gfxColorMaxComps.patch
blob3f0870b4537e2ad5c1e2b745916279d729b683c7
1 --- misc/xpdf-3.02/xpdf/GfxState.cc 2007-02-27 23:05:52.000000000 +0100
2 +++ misc/build/xpdf-3.02/xpdf/GfxState.cc 2011-05-18 20:08:45.003807128 +0200
3 @@ -2678,7 +2678,7 @@
4 double x[16], y[16];
5 Guint xi, yi;
6 GfxColorComp c[4][gfxColorMaxComps];
7 - Guint ci[4];
8 + Guint ci[gfxColorMaxComps];
9 GfxShadingBitBuf *bitBuf;
10 Object obj1, obj2;
11 int i, j;
12 --- misc/xpdf-3.02/xpdf/GfxState.h 2007-02-27 23:05:52.000000000 +0100
13 +++ misc/build/xpdf-3.02/xpdf/GfxState.h 2011-05-18 20:13:26.973936566 +0200
14 @@ -393,8 +393,8 @@
16 int nComps; // number of color components (1, 3, or 4)
17 GfxColorSpace *alt; // alternate color space
18 - double rangeMin[4]; // min values for each component
19 - double rangeMax[4]; // max values for each component
20 + double rangeMin[gfxColorMaxComps]; // min values for each component
21 + double rangeMax[gfxColorMaxComps]; // max values for each component
22 Ref iccProfileStream; // the ICC profile