diff src/rcfile.c @ 319:f9611a6cf0e2

Move file_sort_case_sensitive to ConfOptions.
author zas_
date Fri, 11 Apr 2008 22:27:54 +0000
parents b16b9b8979e5
children c74af1cbd61a
line wrap: on
line diff
--- a/src/rcfile.c	Fri Apr 11 22:14:36 2008 +0000
+++ b/src/rcfile.c	Fri Apr 11 22:27:54 2008 +0000
@@ -328,7 +328,7 @@
 
 	write_int_option(ssi, "sort_method", (gint)options->file_sort_method);
 	write_bool_option(ssi, "sort_ascending", options->file_sort_ascending);
-	write_bool_option(ssi, "sort_case_sensitive", file_sort_case_sensitive);
+	write_bool_option(ssi, "sort_case_sensitive", options->file_sort_case_sensitive);
 	secure_fputc(ssi, '\n');
 
 	write_bool_option(ssi, "confirm_delete", options->confirm_delete);
@@ -604,8 +604,8 @@
 			"sort_method", value, (gint)options->file_sort_method);
 		options->file_sort_ascending = read_bool_option(f, option,
 			"sort_ascending", value, options->file_sort_ascending);
-		file_sort_case_sensitive = read_bool_option(f, option,
-			"sort_case_sensitive", value, file_sort_case_sensitive);
+		options->file_sort_case_sensitive = read_bool_option(f, option,
+			"sort_case_sensitive", value, options->file_sort_case_sensitive);
 
 		options->confirm_delete = read_bool_option(f, option,
 			"confirm_delete", value, options->confirm_delete);