comparison src/rcfile.c @ 337:0565ee45b8ac

Fix bad image option name in the rc file.
author zas_
date Sat, 12 Apr 2008 17:20:34 +0000
parents 0cb7f0ac5c20
children 41c3cb73120f
comparison
equal deleted inserted replaced
336:9122c5da1223 337:0565ee45b8ac
335 write_bool_option(ssi, "image.limit_window_size", options->image.limit_window_size); 335 write_bool_option(ssi, "image.limit_window_size", options->image.limit_window_size);
336 write_int_option(ssi, "image.max_window_size", options->image.max_window_size); 336 write_int_option(ssi, "image.max_window_size", options->image.max_window_size);
337 write_bool_option(ssi, "image.limit_autofit_size", options->image.limit_autofit_size); 337 write_bool_option(ssi, "image.limit_autofit_size", options->image.limit_autofit_size);
338 write_int_option(ssi, "image.max_autofit_size", options->image.max_autofit_size); 338 write_int_option(ssi, "image.max_autofit_size", options->image.max_autofit_size);
339 write_int_option(ssi, "image.scroll_reset_method", options->image.scroll_reset_method); 339 write_int_option(ssi, "image.scroll_reset_method", options->image.scroll_reset_method);
340 write_int_option(ssi, "image_cache_size_max", options->image.tile_cache_max); 340 write_int_option(ssi, "image.tile_cache_max", options->image.tile_cache_max);
341 write_int_option(ssi, "image.zoom_quality", options->image.zoom_quality); 341 write_int_option(ssi, "image.zoom_quality", options->image.zoom_quality);
342 write_int_option(ssi, "image.dither_quality", options->image.dither_quality); 342 write_int_option(ssi, "image.dither_quality", options->image.dither_quality);
343 write_int_option(ssi, "image.zoom_increment", options->image.zoom_increment); 343 write_int_option(ssi, "image.zoom_increment", options->image.zoom_increment);
344 write_bool_option(ssi, "image.enable_read_ahead", options->image.enable_read_ahead); 344 write_bool_option(ssi, "image.enable_read_ahead", options->image.enable_read_ahead);
345 write_bool_option(ssi, "image.exif_rotate_enable", options->image.exif_rotate_enable); 345 write_bool_option(ssi, "image.exif_rotate_enable", options->image.exif_rotate_enable);
575 options->image.max_autofit_size = read_int_option(f, option, 575 options->image.max_autofit_size = read_int_option(f, option,
576 "image.max_autofit_size", value, options->image.max_autofit_size); 576 "image.max_autofit_size", value, options->image.max_autofit_size);
577 options->image.scroll_reset_method = read_int_option(f, option, 577 options->image.scroll_reset_method = read_int_option(f, option,
578 "image.scroll_reset_method", value, options->image.scroll_reset_method); 578 "image.scroll_reset_method", value, options->image.scroll_reset_method);
579 options->image.tile_cache_max = read_int_option(f, option, 579 options->image.tile_cache_max = read_int_option(f, option,
580 "image.cache_size_max", value, options->image.tile_cache_max); 580 "image.tile_cache_max", value, options->image.tile_cache_max);
581 options->image.zoom_quality = CLAMP(read_int_option(f, option, 581 options->image.zoom_quality = CLAMP(read_int_option(f, option,
582 "image.zoom_quality", value, options->image.zoom_quality), GDK_INTERP_NEAREST, GDK_INTERP_HYPER); 582 "image.zoom_quality", value, options->image.zoom_quality), GDK_INTERP_NEAREST, GDK_INTERP_HYPER);
583 options->image.dither_quality = CLAMP(read_int_option(f, option, 583 options->image.dither_quality = CLAMP(read_int_option(f, option,
584 "image.dither_quality", value, options->image.dither_quality), GDK_RGB_DITHER_NONE, GDK_RGB_DITHER_MAX); 584 "image.dither_quality", value, options->image.dither_quality), GDK_RGB_DITHER_NONE, GDK_RGB_DITHER_MAX);
585 options->image.zoom_increment = read_int_option(f, option, 585 options->image.zoom_increment = read_int_option(f, option,