# HG changeset patch # User zas_ # Date 1208043695 0 # Node ID 452a4c25da225566b3fe2d1ef668a6a732f6745b # Parent 3514f4d4944715335baa1cbeffe05daaf981fefb exif_* -> exif.display.* diff -r 3514f4d49447 -r 452a4c25da22 src/rcfile.c --- 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); } }