diff src/options.c @ 1037:86148ec8a299

fixed various problems with preserving viewport on image change, options->image.scroll_reset_method should work again (it needs to be added to the preferences dialog)
author nadvornik
date Thu, 04 Sep 2008 21:19:09 +0000
parents 210c86b914ce
children 1646720364cf
line wrap: on
line diff
--- a/src/options.c	Wed Sep 03 21:54:49 2008 +0000
+++ b/src/options.c	Thu Sep 04 21:19:09 2008 +0000
@@ -77,7 +77,7 @@
 	options->image.max_autofit_size = 100;
 	options->image.max_window_size = 90;
 	options->image.read_buffer_size = IMAGE_LOADER_READ_BUFFER_SIZE_DEFAULT;
-	options->image.scroll_reset_method = SCROLL_RESET_TOPLEFT;
+	options->image.scroll_reset_method = SCROLL_RESET_NOCHANGE;
 	options->image.tile_cache_max = 10;
 	options->image.image_cache_max = 128; /* 4 x 10MPix */
 	options->image.use_custom_border_color = FALSE;