changeset 2141:8ea33f1c3d52

Those stereo image options are of type int, not uint, use appropriate macros.
author Laurent Monin <zas@norz.org>
date Thu, 30 Aug 2012 15:03:01 +0200
parents 4ec9ff4f564c
children fc678ab8edb7
files src/rcfile.c
diffstat 1 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/rcfile.c	Thu Aug 30 14:50:59 2012 +0200
+++ b/src/rcfile.c	Thu Aug 30 15:03:01 2012 +0200
@@ -451,15 +451,15 @@
 	WRITE_NL(); WRITE_BOOL(*options, metadata.keywords_case_sensitive);
 	WRITE_NL(); WRITE_BOOL(*options, metadata.write_orientation);
 
-	WRITE_NL(); WRITE_UINT(*options, stereo.mode);
-	WRITE_NL(); WRITE_UINT(*options, stereo.fsmode);
+	WRITE_NL(); WRITE_INT(*options, stereo.mode);
+	WRITE_NL(); WRITE_INT(*options, stereo.fsmode);
 	WRITE_NL(); WRITE_BOOL(*options, stereo.enable_fsmode);
-	WRITE_NL(); WRITE_UINT(*options, stereo.fixed_w);
-	WRITE_NL(); WRITE_UINT(*options, stereo.fixed_h);
-	WRITE_NL(); WRITE_UINT(*options, stereo.fixed_x1);
-	WRITE_NL(); WRITE_UINT(*options, stereo.fixed_y1);
-	WRITE_NL(); WRITE_UINT(*options, stereo.fixed_x2);
-	WRITE_NL(); WRITE_UINT(*options, stereo.fixed_y2);
+	WRITE_NL(); WRITE_INT(*options, stereo.fixed_w);
+	WRITE_NL(); WRITE_INT(*options, stereo.fixed_h);
+	WRITE_NL(); WRITE_INT(*options, stereo.fixed_x1);
+	WRITE_NL(); WRITE_INT(*options, stereo.fixed_y1);
+	WRITE_NL(); WRITE_INT(*options, stereo.fixed_x2);
+	WRITE_NL(); WRITE_INT(*options, stereo.fixed_y2);
 }
 
 static void write_color_profile(GString *outstr, gint indent)
@@ -721,15 +721,15 @@
 		if (READ_BOOL(*options, metadata.keywords_case_sensitive)) continue;
 		if (READ_BOOL(*options, metadata.write_orientation)) continue;
 
-		if (READ_UINT(*options, stereo.mode)) continue;
-		if (READ_UINT(*options, stereo.fsmode)) continue;
+		if (READ_INT(*options, stereo.mode)) continue;
+		if (READ_INT(*options, stereo.fsmode)) continue;
 		if (READ_BOOL(*options, stereo.enable_fsmode)) continue;
-		if (READ_UINT(*options, stereo.fixed_w)) continue;
-		if (READ_UINT(*options, stereo.fixed_h)) continue;
-		if (READ_UINT(*options, stereo.fixed_x1)) continue;
-		if (READ_UINT(*options, stereo.fixed_y1)) continue;
-		if (READ_UINT(*options, stereo.fixed_x2)) continue;
-		if (READ_UINT(*options, stereo.fixed_y2)) continue;
+		if (READ_INT(*options, stereo.fixed_w)) continue;
+		if (READ_INT(*options, stereo.fixed_h)) continue;
+		if (READ_INT(*options, stereo.fixed_x1)) continue;
+		if (READ_INT(*options, stereo.fixed_y1)) continue;
+		if (READ_INT(*options, stereo.fixed_x2)) continue;
+		if (READ_INT(*options, stereo.fixed_y2)) continue;
 
 		/* dummy options */
 		if (READ_DUMMY(*options, image.dither_quality, "deprecated since 2012-08-13")) continue;