Partial fix #504: Increase limit on Decoded Image Cache Size
authorColin Clark <colin.clark@cclark.uk>
Fri, 4 Aug 2017 20:04:45 +0000 (21:04 +0100)
committerColin Clark <colin.clark@cclark.uk>
Fri, 4 Aug 2017 20:04:45 +0000 (21:04 +0100)
https://github.com/BestImageViewer/geeqie/issues/504

src/preferences.c

index e7aff94..3de2e19 100644 (file)
@@ -1518,7 +1518,7 @@ static void config_tab_general(GtkWidget *notebook)
        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);