Author: post
Date: 2013-03-26 13:04:58 +0100 (Tue, 26 Mar 2013)
New Revision: 4334

Modified:
   trunk/src/rs-cache.c
Log:
Don't let sign influence if mask should be saved.

Modified: trunk/src/rs-cache.c
===================================================================
--- trunk/src/rs-cache.c        2013-03-26 12:02:56 UTC (rev 4333)
+++ trunk/src/rs-cache.c        2013-03-26 12:04:58 UTC (rev 4334)
@@ -116,7 +116,7 @@
                        photo->crop->x1, photo->crop->y1,
                        photo->crop->x2, photo->crop->y2);
        }
-       for(id=0;id<3&&mask>0;id++)
+       for(id=0;id<3&&mask!=0;id++)
        {
                xmlTextWriterStartElement(writer, BAD_CAST "settings");
                xmlTextWriterWriteFormatAttribute(writer, BAD_CAST "id", "%d", 
id);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to