summaryrefslogtreecommitdiff
path: root/src/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout.c')
-rw-r--r--src/layout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layout.c b/src/layout.c
index 0ca33599..249989cc 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -27,13 +27,13 @@ void layout_add_layer(struct layout *layout, struct layer *layer)
layout->layers = g_list_append(layout->layers, layer);
}
-struct itemtype * itemtype_new(int zoom_min, int zoom_max)
+struct itemtype * itemtype_new(int order_min, int order_max)
{
struct itemtype *itm;
itm = g_new0(struct itemtype, 1);
- itm->zoom_min=zoom_min;
- itm->zoom_max=zoom_max;
+ itm->order_min=order_min;
+ itm->order_max=order_max;
return itm;
}