summaryrefslogtreecommitdiff
path: root/src/mapcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapcache.c')
-rw-r--r--src/mapcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapcache.c b/src/mapcache.c
index fe48e1f..7b731bc 100644
--- a/src/mapcache.c
+++ b/src/mapcache.c
@@ -58,7 +58,7 @@ static VikLayerParamScale params_scales[] = {
};
static VikLayerParam prefs[] = {
- { VIKING_PREFERENCES_NAMESPACE "mapcache_size", VIK_LAYER_PARAM_UINT, VIK_LAYER_GROUP_NONE, N_("Map cache memory size (MB):"), VIK_LAYER_WIDGET_HSCALE, params_scales, NULL, NULL },
+ { VIK_LAYER_NUM_TYPES, VIKING_PREFERENCES_NAMESPACE "mapcache_size", VIK_LAYER_PARAM_UINT, VIK_LAYER_GROUP_NONE, N_("Map cache memory size (MB):"), VIK_LAYER_WIDGET_HSCALE, params_scales, NULL, NULL },
};
void a_mapcache_init ()