lcms2/workaround-gcc-bug.diff
OBS User autobuild aa1b10984b Accepting request 50374 from multimedia:libs
Copy from multimedia:libs/lcms2 based on submit request 50374 from user plater

OBS-URL: https://build.opensuse.org/request/show/50374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lcms2?expand=0&rev=1
2010-10-13 22:55:59 +00:00

13 lines
479 B
Diff

--- ./utils/linkicc/linkicc.c.orig 2010-05-19 17:06:01.157118683 +0200
+++ ./utils/linkicc/linkicc.c 2010-05-19 17:08:03.257142292 +0200
@@ -294,7 +294,8 @@
// Ink limiting
if (InkLimit != 400.0) {
- Profiles[nargs++] = cmsCreateInkLimitingDeviceLink(cmsGetColorSpace(Profiles[nargs-1]), InkLimit);
+ Profiles[nargs] = cmsCreateInkLimitingDeviceLink(cmsGetColorSpace(Profiles[nargs]), InkLimit);
+ nargs++;
}
// Set the flags