diff src/rcfile.c @ 1013:88ebc61e33ae

Allow to override documentation paths through options: - documentation.helpdir - documentation.htmldir Default values are set at configure time.
author zas_
date Sat, 30 Aug 2008 10:39:35 +0000
parents 6ca2c5fd7b13
children 7789dff37086
line wrap: on
line diff
--- a/src/rcfile.c	Fri Aug 29 20:53:53 2008 +0000
+++ b/src/rcfile.c	Sat Aug 30 10:39:35 2008 +0000
@@ -617,6 +617,10 @@
 		write_int_option(ssi, (gchar *)ExifUIList[i].key, ExifUIList[i].current);
 		}
 
+	WRITE_SUBTITLE("Documentation Options");
+	WRITE_CHAR(documentation.helpdir);
+	WRITE_CHAR(documentation.htmldir);
+
 	WRITE_SEPARATOR();
 	WRITE_SEPARATOR();
 
@@ -980,6 +984,11 @@
 					ExifUIList[i].current = strtol(value, NULL, 10);
 			continue;
 			}
+		
+		/* Documentation */
+		READ_CHAR(documentation.helpdir);
+		READ_CHAR(documentation.htmldir);
+		
 		}
 
 	fclose(f);