# HG changeset patch # User Colin Clark # Date 1501877085 -3600 # Node ID 78518b422e2377b998b956d575999bb47cbd5c37 # Parent 09386a249046f499a1da8af06e2429580bd7f50e Partial fix #504: Increase limit on Decoded Image Cache Size https://github.com/BestImageViewer/geeqie/issues/504 diff -r 09386a249046 -r 78518b422e23 src/preferences.c --- a/src/preferences.c Fri Aug 04 17:04:07 2017 +0100 +++ b/src/preferences.c Fri Aug 04 21:04:45 2017 +0100 @@ -1518,7 +1518,7 @@ group = pref_group_new(vbox, FALSE, _("Image loading and caching"), GTK_ORIENTATION_VERTICAL); pref_spin_new_int(group, _("Decoded image cache size (Mb):"), NULL, - 0, 1024, 1, options->image.image_cache_max, &c_options->image.image_cache_max); + 0, 99999, 1, options->image.image_cache_max, &c_options->image.image_cache_max); pref_checkbox_new_int(group, _("Preload next image"), options->image.enable_read_ahead, &c_options->image.enable_read_ahead);