Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31544

Modified Files:
        ufraw_preview.c 
Log Message:
Fix a crash in the spot selection tool.


Index: ufraw_preview.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_preview.c,v
retrieving revision 1.323
retrieving revision 1.324
diff -u -d -r1.323 -r1.324
--- ufraw_preview.c     13 Dec 2009 00:21:16 -0000      1.323
+++ ufraw_preview.c     20 Jan 2010 22:18:14 -0000      1.324
@@ -1349,7 +1349,7 @@
        guint8 *outPixie = outBuffer + (y*width + spot.StartX)*outDepth;
        for (x=spot.StartX;
             x<spot.EndX;
-            x++, rawPixie += rawDepth, outPixie += outDepth) {
+            x++, rawPixie += rawDepth/2, outPixie += outDepth) {
            for (c=0; c<data->UF->colors; c++)
                rawSum[c] += rawPixie[c];
            for (c=0; c<3; c++)


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to