X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Frcfile.cc;fp=src%2Frcfile.cc;h=16d9ce449d7c509bb3d01da6b0d8f8d1b46763cc;hp=6527fac76b8202e30a5c8eadf2c3527100f245f9;hb=f91df1b04e096588c9f0ef75923498eb09296d76;hpb=cf67a444c22d11074c15db77909f5e9145561ace diff --git a/src/rcfile.cc b/src/rcfile.cc index 6527fac7..16d9ce44 100644 --- a/src/rcfile.cc +++ b/src/rcfile.cc @@ -928,7 +928,7 @@ static gboolean load_global_params(const gchar **attribute_names, const gchar ** if (READ_BOOL(*options, image.limit_autofit_size)) continue; if (READ_INT(*options, image.max_autofit_size)) continue; if (READ_INT(*options, image.max_enlargement_size)) continue; - if (READ_UINT_CLAMP(*options, image.scroll_reset_method, 0, PR_SCROLL_RESET_COUNT - 1)) continue; + if (READ_UINT_ENUM_CLAMP(*options, image.scroll_reset_method, 0, ScrollReset::COUNT - 1)) continue; if (READ_INT(*options, image.tile_cache_max)) continue; if (READ_INT(*options, image.image_cache_max)) continue; if (READ_UINT_CLAMP(*options, image.zoom_quality, GDK_INTERP_NEAREST, GDK_INTERP_BILINEAR)) continue;