changeset 337:0565ee45b8ac

Fix bad image option name in the rc file.
author zas_
date Sat, 12 Apr 2008 17:20:34 +0000
parents 9122c5da1223
children 41c3cb73120f
files src/rcfile.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/rcfile.c	Sat Apr 12 17:09:20 2008 +0000
+++ b/src/rcfile.c	Sat Apr 12 17:20:34 2008 +0000
@@ -337,7 +337,7 @@
 	write_bool_option(ssi, "image.limit_autofit_size", options->image.limit_autofit_size);
 	write_int_option(ssi, "image.max_autofit_size", options->image.max_autofit_size);
 	write_int_option(ssi, "image.scroll_reset_method", options->image.scroll_reset_method);
-	write_int_option(ssi, "image_cache_size_max", options->image.tile_cache_max);
+	write_int_option(ssi, "image.tile_cache_max", options->image.tile_cache_max);
 	write_int_option(ssi, "image.zoom_quality", options->image.zoom_quality);
 	write_int_option(ssi, "image.dither_quality", options->image.dither_quality);
 	write_int_option(ssi, "image.zoom_increment", options->image.zoom_increment);
@@ -577,7 +577,7 @@
 		options->image.scroll_reset_method = read_int_option(f, option,
 			"image.scroll_reset_method", value, options->image.scroll_reset_method);
 		options->image.tile_cache_max = read_int_option(f, option,
-			"image.cache_size_max", value, options->image.tile_cache_max);
+			"image.tile_cache_max", value, options->image.tile_cache_max);
 		options->image.zoom_quality = CLAMP(read_int_option(f, option,
 			"image.zoom_quality", value, options->image.zoom_quality), GDK_INTERP_NEAREST, GDK_INTERP_HYPER);
 		options->image.dither_quality = CLAMP(read_int_option(f, option,