Marti, no comment?  (busy I guess)

Louis Solomon
www.SteelBytes.com

----- Original Message ----- 
From: "Dirck Blaskey" <[EMAIL PROTECTED]>
To: <lcms-user@lists.sourceforge.net>
Sent: Wednesday, April 18, 2007 5:47 AM
Subject: [Lcms-user] patch for cmslut.c


> cl /analyze found a bug in cmslut.c
>
> here's a patch; around line 562:
> ===================================================================
>            StageABC[0] = StageABC[1] = StageABC[2] = RGB_8_TO_16(i);
>
>            if (Lut ->wFlags & LUT_HASTL1) {
>               for (j=0; j < 3; j++)
> -                     StageABC[i] = cmsLinearInterpLUT16(StageABC[i],
> -                                                        Lut -> L1[i],
> +                     StageABC[j] = cmsLinearInterpLUT16(StageABC[j],
> +                                                        Lut -> L1[j],
>                                                        &Lut -> 
> In16params);
>               Lut ->wFlags &= ~LUT_HASTL1;
>            }
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Lcms-user mailing list
> Lcms-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lcms-user 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to