changeset 349:452a4c25da22

exif_* -> exif.display.*
author zas_
date Sat, 12 Apr 2008 23:41:35 +0000
parents 3514f4d49447
children 00696edf1dd3
files src/rcfile.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/rcfile.c	Sat Apr 12 23:32:08 2008 +0000
+++ b/src/rcfile.c	Sat Apr 12 23:41:35 2008 +0000
@@ -465,10 +465,10 @@
 		}
 
 
-	secure_fprintf(ssi, "\n##### Exif #####\n# 0: never\n# 1: if set\n# 2: always\n\n");
+	secure_fprintf(ssi, "\n##### Exif Options #####\n# Display:\n#   0: never\n#   1: if set\n#   2: always\n\n");
 	for (i = 0; ExifUIList[i].key; i++)
 		{
-		secure_fprintf(ssi, "exif_");
+		secure_fprintf(ssi, "exif.display.");
 		write_int_option(ssi, (gchar *)ExifUIList[i].key, ExifUIList[i].current);
 		}
 
@@ -810,10 +810,10 @@
 		options->collections.rectangular_selection = read_bool_option(f, option,
 			"collections.rectangular_selection", value, options->collections.rectangular_selection);
 
-		if (0 == strncasecmp(option, "exif_", 5))
+		if (0 == strncasecmp(option, "exif.display.", 13))
 			{
 			for (i = 0; ExifUIList[i].key; i++)
-				if (0 == strcasecmp(option+5, ExifUIList[i].key))
+				if (0 == strcasecmp(option + 13, ExifUIList[i].key))
 					ExifUIList[i].current = strtol(value, NULL, 10);
 		  	}
 		}